summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/smm665.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-08 19:34:07 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:26:36 -0700
commitb2ae8f87f48d40b720ec011499e99bdf5c519c82 (patch)
treeaf9fceec1c23ccdf9386fe70b8298b10b9305caf /drivers/hwmon/smm665.c
parentc9e1498a186b643fff21c5d5340a35fcf1151181 (diff)
downloadlinux-b2ae8f87f48d40b720ec011499e99bdf5c519c82.tar.bz2
hwmon: (smm665) fix checkpatch issues
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>
Diffstat (limited to 'drivers/hwmon/smm665.c')
-rw-r--r--drivers/hwmon/smm665.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/smm665.c b/drivers/hwmon/smm665.c
index 411638181fd8..1b4301f93787 100644
--- a/drivers/hwmon/smm665.c
+++ b/drivers/hwmon/smm665.c
@@ -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); \