]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/lm93.c
hwmon: (lm93) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sun, 15 Jan 2012 05:25:54 +0000 (21:25 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:06 +0000 (18:27 -0700)
commit2804a4cfcdef5f0d4f412b31ab9d4a4a9aa3057a
treeb05e3f23af57cd5e778f3b6c94db316b67470a15
parenta318afd890ea4cf1e35543ad100704173edb4406
hwmon: (lm93) Fix checkpatch issues

Fixed:
ERROR: code indent should use tabs where possible
ERROR: do not use assignment in if condition
ERROR: else should follow close brace '}'
ERROR: space prohibited after that open parenthesis '('
ERROR: space required after that ',' (ctx:VxV)
ERROR: spaces required around that '<=' (ctx:VxV)
ERROR: spaces required around that '<' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that ':' (ctx:VxW)
ERROR: trailing statements should be on next line
WARNING: braces {} are not necessary for any arm of this statement
WARNING: do not add new typedefs
WARNING: please, no space before tabs
WARNING: simple_strtol is obsolete, use kstrtol instead
WARNING: simple_strtoul is obsolete, use kstrtoul instead

Modify multi-line comments to follow Documentation/CodingStyle.

Not fixed (unknown impact):
WARNING: msleep < 20ms can sleep for up to 20ms

Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm93.c