]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (abituguru) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 20:30:52 +0000 (12:30 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:18 +0000 (18:27 -0700)
commitcce927d2175af4d769658d2312b164795d9208d1
tree970dd74684f559053bf7555f97c11d9b24b4c15d
parent9a16b7df23ab9c35ffe1c2725d1c6fb6be7ed9f1
hwmon: (abituguru) Fix checkpatch issues

Fixed:
ERROR: do not use assignment in if condition
ERROR: else should follow close brace '}'
ERROR: switch and case should be at the same indent
WARNING: simple_strtoul is obsolete, use kstrtoul instead

Modify multi-line comments to follow Documentation/CodingStyle.

Not fixed:
WARNING: msleep < 20ms can sleep for up to 20ms

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abituguru.c