From: Guenter Roeck Date: Sun, 15 Jan 2012 18:48:48 +0000 (-0800) Subject: hwmon: (w83793) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47efe8772f241c4be540355d90e38b79cc1092a4;p=pandora-kernel.git hwmon: (w83793) 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) 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 WARNING: simple_strtoul is obsolete, use kstrtoul instead Modify multi-line comments to follow Documentation/CodingStyle. Also replaced " == " with " == ". Translation was done with the following coccinelle script to limit risk. @@ identifier i; constant C; @@ <... - C == i + i == C ...> Not fixed (false positive): ERROR: Macros with complex values should be enclosed in parenthesis Cc: Rudolf Marek Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed