]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pcf8591) Fix checkpatch issues
authorGuenter Roeck <linux@roeck-us.net>
Sun, 15 Jan 2012 05:57:29 +0000 (21:57 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:07 +0000 (18:27 -0700)
commitbdc1a3df3c3608b2c2a857370f9dc8df34938901
treec2a512ea137d72d58ff3c730a39711ac0991bb60
parentfd63ef8b1358c590cf33e66ea90c23aa0e11d6b2
hwmon: (pcf8591) Fix checkpatch issues

Fixed:
ERROR: do not use assignment in if condition
ERROR: spaces required around that ':' (ctx:VxV)
ERROR: spaces required around that '?' (ctx:VxV)
WARNING: line over 80 characters
WARNING: simple_strtoul is obsolete, use kstrtoul instead

Modify multi-line comments to follow Documentation/CodingStyle.

Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pcf8591.c