From: Guenter Roeck Date: Sun, 15 Jan 2012 04:58:08 +0000 (-0800) Subject: hwmon: (lm87) Fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6370dbe45278db0ebebc377c0a6143b7c488379;p=pandora-kernel.git hwmon: (lm87) Fix checkpatch issues Fixed: ERROR: do not use assignment in if condition ERROR: space required after that close brace '}' ERROR: space required after that ',' (ctx:VxV) ERROR: spaces required around that '<' (ctx:VxV) ERROR: trailing statements should be on next 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 everywhere (code complexity): ERROR: do not use assignment in if condition As a side effect of the changes made, attribute set functions now return an error if an attempt is made to write non-numeric values. Previously, such writes were interpreted as writing 0. Cc: Jean Delvare Signed-off-by: Guenter Roeck Acked-by: Jean Delvare --- Reading git-diff-tree failed