Skip to content

Commit

Permalink
hwmon: (dme1737) Fix checkpatch issues
Browse files Browse the repository at this point in the history
Fixed:
WARNING: braces {} are not necessary for any arm of this statement
WARNING: braces {} are not necessary for single statement blocks
WARNING: simple_strtol is obsolete, use kstrtol instead

Modify multi-line comments to follow Documentation/CodingStyle.

Also: s/#define^I/#define /

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

Cc: Juerg Haefliger <juergh@gmail.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 8c10369 commit c8de836
Showing 1 changed file with 290 additions and 216 deletions.
Loading

0 comments on commit c8de836

Please sign in to comment.