From: Guenter Roeck Date: Sun, 15 Jan 2012 17:19:16 +0000 (-0800) Subject: hwmon: (w83781d) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c531eb3f229bcc3b4ee7fb471e580caff86dafad;p=pandora-kernel.git hwmon: (w83781d) Fix checkpatch issues Fixed: ERROR: code indent should use tabs where possible ERROR: do not use assignment in if condition ERROR: "foo* bar" should be "foo *bar" ERROR: space prohibited after that open parenthesis '(' ERROR: space required after that ',' (ctx:VxV) ERROR: spaces required around that '==' (ctx:VxV) WARNING: line over 80 characters WARNING: simple_strtol is obsolete, use kstrtol instead WARNING: simple_strtoul is obsolete, use kstrtoul instead WARNING: space prohibited between function name and open parenthesis '(' Not fixed (false positive): ERROR: Macros with multiple statements should be enclosed in a do - while loop ERROR: Macros with complex values should be enclosed in parenthesis Not all fixed (code complexity): ERROR: do not use assignment in if condition Acked-by: Jean Delvare Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed