• Guenter Roeck's avatar
    hwmon: (adm1021) Fix checkpatch issues · 21d2a8f1
    Guenter Roeck authored
    Fixed:
    ERROR: do not use assignment in if condition
    WARNING: simple_strtol is obsolete, use kstrtol instead
    WARNING: space prohibited between function name and open parenthesis '('
    
    Modify multi-line comments to follow Documentation/CodingStyle.
    
    Cc: Michael Abbott <michael.abbott@diamond.ac.uk>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    21d2a8f1
adm1021.c 14.1 KB