• Guenter Roeck's avatar
    hwmon: (f71805f) Fix checkpatch issues · 2fff0840
    Guenter Roeck authored
    Fixed:
    ERROR: code indent should use tabs where possible
    ERROR: do not use assignment in if condition
    ERROR: "foo* bar" should be "foo *bar"
    ERROR: need consistent spacing around '|' (ctx:VxW)
    WARNING: simple_strtol is obsolete, use kstrtol instead
    WARNING: simple_strtoul is obsolete, use kstrtoul instead
    WARNING: static const char * array should probably be static const char * const
    
    Also modified multi-line comments to follow Documents/Codingstyle.
    
    Cc: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Acked-by: default avatarJean Delvare <khali@linux-fr.org>
    2fff0840
f71805f.c 48.5 KB