summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/lm3533-als.c
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-12-30 19:48:50 +0100
committerJonathan Cameron <jic23@kernel.org>2015-01-01 13:14:36 +0100
commit586d48f92691976cc1932e2fdcbb3abd1bec8aa8 (patch)
tree50d55ae6f19f629f67b63f4d3609caa2abeb9b89 /drivers/iio/light/lm3533-als.c
parentiio: light: Annotate Kconfig entry with module name information (diff)
downloadlinux-586d48f92691976cc1932e2fdcbb3abd1bec8aa8.tar.xz
linux-586d48f92691976cc1932e2fdcbb3abd1bec8aa8.zip
iio: light: lm3533-als: Remove space before ','
This patch fixes the following checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxE) Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/lm3533-als.c')
-rw-r--r--drivers/iio/light/lm3533-als.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/lm3533-als.c b/drivers/iio/light/lm3533-als.c
index ae3c71bdd6c6..076bc46fad03 100644
--- a/drivers/iio/light/lm3533-als.c
+++ b/drivers/iio/light/lm3533-als.c
@@ -657,7 +657,7 @@ static ALS_HYSTERESIS_ATTR_RO(3);
#define ILLUMINANCE_ATTR_RO(_name) \
DEVICE_ATTR(in_illuminance0_##_name, S_IRUGO, show_##_name, NULL)
#define ILLUMINANCE_ATTR_RW(_name) \
- DEVICE_ATTR(in_illuminance0_##_name, S_IRUGO | S_IWUSR , \
+ DEVICE_ATTR(in_illuminance0_##_name, S_IRUGO | S_IWUSR, \
show_##_name, store_##_name)
/*
* ALS Zone threshold-event enable