• Guenter Roeck's avatar
    hwmon: (dme1737) Fix checkpatch issues · c8de8362
    Guenter Roeck authored
    Fixed:
    WARNING: braces {} are not necessary for any arm of this statement
    WARNING: braces {} are not necessary for single statement blocks
    WARNING: simple_strtol is obsolete, use kstrtol 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: Juerg Haefliger <juergh@gmail.com>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    c8de8362
dme1737.c 78.4 KB