]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm1025) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 20:49:22 +0000 (12:49 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:46 +0000 (18:26 -0700)
commitcf7b96ea2773dfcdb7e141b158fee7dc3bc1c0e5
tree02c8077a7200c02df820b1c6d22ab0a8b53068ca
parentdc6589f0c87a366131512e8d8934fa4c7f72815a
hwmon: (adm1025) Fix checkpatch issues

Fixed:
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: trailing whitespace
WARNING: simple_strtol is obsolete, use kstrtol instead
WARNING: simple_strtoul is obsolete, use kstrtoul instead

Not fixed:
ERROR: Macros with multiple statements should be enclosed in a do - while loop

Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adm1025.c