• Guenter Roeck's avatar
    hwmon: (lm85) Fix checkpatch issues · 09770b26
    Guenter Roeck authored
    Fixed:
    ERROR: code indent should use tabs where possible
    ERROR: do not use assignment in if condition
    WARNING: simple_strtol is obsolete, use kstrtol instead
    WARNING: simple_strtoul is obsolete, use kstrtoul instead
    
    Modify multi-line comments to follow Documentation/CodingStyle.
    
    Also: s/#define^I/#define /
    
    Not fixed (false positive):
    ERROR: Macros with multiple statements should be enclosed in a do - while loop
    
    Cc: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    09770b26
lm85.c 49 KB