From: Guenter Roeck Date: Sun, 15 Jan 2012 14:38:23 +0000 (-0800) Subject: hwmon: (via686a) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9004ac8134de260b2eb9a6d8fb2dd4a37321e49b;p=pandora-kernel.git hwmon: (via686a) Fix checkpatch issues Fixed: ERROR: do not use assignment in if condition ERROR: open brace '{' following function declarations go on the next line ERROR: space prohibited before that close parenthesis ')' 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: that open brace { should be on the previous line WARNING: line over 80 characters WARNING: simple_strtol is obsolete, use kstrtol instead WARNING: simple_strtoul is obsolete, use kstrtoul instead Modify multi-line comments to follow Documentation/CodingStyle. Not fixed (false positive): ERROR: Macros with multiple statements should be enclosed in a do - while loop Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed