]> Pileus Git - ~andy/linux/commitdiff
hwmon: (smm665) fix checkpatch issues
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 8 Jan 2012 18:34:07 +0000 (19:34 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:36 +0000 (18:26 -0700)
fixed:
WARNING: please, no spaces at the start of a line
#379: FILE: smm665.c:379:
+  static ssize_t smm665_show_##what(struct device *dev, \$

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/smm665.c

index 411638181fd85fd938c0107f24c2aa0de119337c..1b4301f937877b74bcf2837cfd6b58180af2de2a 100644 (file)
@@ -376,7 +376,7 @@ static ssize_t smm665_show_input(struct device *dev,
 }
 
 #define SMM665_SHOW(what) \
-  static ssize_t smm665_show_##what(struct device *dev, \
+static ssize_t smm665_show_##what(struct device *dev, \
                                    struct device_attribute *da, char *buf) \
 { \
        struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \