]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/hwmon/adm9240.c
hwmon: (adm9240) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sat, 14 Jan 2012 21:12:38 +0000 (13:12 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:20 +0000 (18:27 -0700)
commitc387e4eb245bf55695f96817d15fe90c3bc99e6b
tree3a2c5bc1364051cd4e675e55295c6fda9189c24b
parent86aa3e22106be3d6338113ff5acd7a87c40056c4
hwmon: (adm9240) Fix checkpatch issues

Fixed:
ERROR: do not use assignment in if condition
ERROR: that open brace { should be on the previous line
WARNING: please, no space before tabs
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 <linux@roeck-us.net>
drivers/hwmon/adm9240.c