• Guenter Roeck's avatar
    hwmon: (smsc47m192) Fix checkpatch issues · 7cc3cb66
    Guenter Roeck authored
    Fixed:
    ERROR: code indent should use tabs where possible
    ERROR: do not use assignment in if condition
    ERROR: spaces required around that '<' (ctx:VxV)
    ERROR: spaces required around that '==' (ctx:VxV)
    ERROR: spaces required around that '=' (ctx:VxV)
    ERROR: spaces required around that '>' (ctx:VxV)
    NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
    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
    
    Cc: Hartmut Rick <linux@rick.claranet.de>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    7cc3cb66
smsc47m192.c 20.8 KB