From: Guenter Roeck Date: Sun, 15 Jan 2012 05:49:53 +0000 (-0800) Subject: hwmon: (pc87360) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449a7a0720f2edc84288fb239bca8b2f9366881d;p=pandora-kernel.git hwmon: (pc87360) 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 required after that ',' (ctx:VxV) ERROR: spaces required around that ':' (ctx:VxE) ERROR: spaces required around that '==' (ctx:VxV) WARNING: braces {} are not necessary for single statement blocks WARNING: line over 80 characters WARNING: please, no space before tabs WARNING: please, no spaces at the start of a line WARNING: simple_strtol is obsolete, use kstrtol instead WARNING: simple_strtoul is obsolete, use kstrtoul instead Not or not all fixed (code complexity): ERROR: Macros with complex values should be enclosed in parenthesis ERROR: do not use assignment in if condition Cc: Jim Cromie Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed