Skip to content

Commit

Permalink
hwmon: (abituguru) Fix checkpatch issues
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guenter Roeck authored and Guenter Roeck committed Mar 19, 2012
1 parent 8969e84 commit 1bd385d
Showing 1 changed file with 360 additions and 224 deletions.
Loading

0 comments on commit 1bd385d

Please sign in to comment.