]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit1bd385d67946391dd3ed80654e36adbb634f0be6
tree970dd74684f559053bf7555f97c11d9b24b4c15d
parent8969e84d954af3f7142cb5e6fd870466aaf59932
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