]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (thmc50) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sun, 15 Jan 2012 06:33:01 +0000 (22:33 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:10 +0000 (18:27 -0700)
commit4d387df74e175659ad9c8a16ae8e5b364b7d3f56
tree0826ebba1b914e5b2ff7127ec32433eca9b0d309
parent85a0c0d1a17cd83f4c2cec09c3ae69ed210f23b2
hwmon: (thmc50) Fix checkpatch issues

Fixed:
ERROR: code indent should use tabs where possible
ERROR: do not use assignment in if condition
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 (false positive):
ERROR: Macros with multiple statements should be enclosed in a do - while loop

Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/thmc50.c