From: Guenter Roeck Date: Sun, 15 Jan 2012 14:52:33 +0000 (-0800) Subject: hwmon: (vt1211) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b162c033480a7ba0433d329f56c142a0ab59049d;p=pandora-kernel.git hwmon: (vt1211) Fix checkpatch issues Fixed: ERROR: do not use assignment in if condition ERROR: switch and case should be at the same indent ERROR: trailing statements should be on next line 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. Not fixed (false positive): ERROR: Macros with complex values should be enclosed in parenthesis Not all fixed (code complexity): ERROR: do not use assignment in if condition Cc: Juerg Haefliger Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed