]> git.baikalelectronics.ru Git - kernel.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)
commitc1fb1ecde0f0d04d6ab68977337d09e6fb4152d2
tree0826ebba1b914e5b2ff7127ec32433eca9b0d309
parent4d78ca5be80062ee2ab90fbe1d13aa40493fedba
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