• G
    hwmon: (w83l786ng) Fix checkpatch issues · ca3ccad8
    Guenter Roeck 提交于
    Fixed:
    ERROR: code indent should use tabs where possible
    ERROR: do not use assignment in if condition
    ERROR: space required after that ',' (ctx:VxV)
    WARNING: braces {} are not necessary for single statement blocks
    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
    WARNING: space prohibited between function name and open parenthesis '('
    
    Not fixed (false positive):
    ERROR: Macros with complex values should be enclosed in parenthesis
    Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
    ca3ccad8
w83l786ng.c 21.8 KB