]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (gl520sm) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 21:34:52 +0000 (13:34 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:23 +0000 (18:27 -0700)
commit43da3d123a6ec556a2e1b69a3b9c7d33af965fa0
tree0ca79b5b974e1a4f739b59f9b84ca30a28413bc6
parent228f8e0c60e96f16ae7739b62187622d566022a9
hwmon: (gl520sm) Fix checkpatch issues

Fixed:
ERROR: code indent should use tabs where possible
ERROR: do not use assignment in if condition
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:VxV)
ERROR: trailing statements should be on next line
WARNING: line over 80 characters
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 always fixed (complexity):
ERROR: do not use assignment in if condition

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gl520sm.c