• G
    hwmon: (pc87360) Fix checkpatch issues · 449a7a07
    Guenter Roeck 提交于
    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 <jim.cromie@gmail.com>
    Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
    449a7a07
pc87360.c 56.0 KB