]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (dme1737) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 21:25:01 +0000 (13:25 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:21 +0000 (18:27 -0700)
commitc8de83624c33b2f5dc6ba497477fc2019b547949
tree9defdec308ed8ed012fe8594a407fb997803d9be
parent8c103696fa59e1b810bf24a63304acd5ab585c12
hwmon: (dme1737) Fix checkpatch issues

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>
drivers/hwmon/dme1737.c