]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm1021) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 20:45:47 +0000 (12:45 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:19 +0000 (18:27 -0700)
commit1c39190acaab7914b77fe752771ba4ae463fecb2
tree98a62d76173dd579aa8d7cfd884829d7be573edf
parentcce927d2175af4d769658d2312b164795d9208d1
hwmon: (adm1021) Fix checkpatch issues

Fixed:
ERROR: do not use assignment in if condition
WARNING: simple_strtol is obsolete, use kstrtol instead
WARNING: space prohibited between function name and open parenthesis '('

Modify multi-line comments to follow Documentation/CodingStyle.

Cc: Michael Abbott <michael.abbott@diamond.ac.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adm1021.c