From: Guenter Roeck Date: Sun, 15 Jan 2012 06:27:00 +0000 (-0800) Subject: hwmon: (smsc47m1) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a0c0d1a17cd83f4c2cec09c3ae69ed210f23b2;p=pandora-kernel.git hwmon: (smsc47m1) Fix checkpatch issues Fixed: ERROR: code indent should use tabs where possible ERROR: do not use assignment in if condition ERROR: space required after that ',' (ctx:VxV) ERROR: spaces required around that '<=' (ctx:VxV) ERROR: spaces required around that '==' (ctx:VxV) ERROR: spaces required around that '>=' (ctx:VxV) ERROR: trailing statements should be on next line ERROR: trailing whitespace WARNING: simple_strtol is obsolete, use kstrtol instead WARNING: static const char * array should probably be static const char * const 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: Jean Delvare Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed