summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2016-04-14 21:36:38 +0200
committerJonathan Cameron <jic23@kernel.org>2016-04-16 13:39:25 +0100
commit102447adfa5a11df57ba1dfeefa250c96bf5e94f (patch)
tree200ea504c31f9dbbe785c2b4ef7f675c31bcfac0 /drivers/iio
parent4c79dd006b6489a62516e6db636d91e71fd8bee1 (diff)
downloadlinux-102447adfa5a11df57ba1dfeefa250c96bf5e94f.tar.gz
linux-102447adfa5a11df57ba1dfeefa250c96bf5e94f.tar.bz2
linux-102447adfa5a11df57ba1dfeefa250c96bf5e94f.zip
iio: adc: ad799x: remove space before comma
This fixes the error reported by checkpatch.pl: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/ad799x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index 01d71588d752..a3f5254f4e51 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -477,7 +477,7 @@ static int ad799x_read_event_value(struct iio_dev *indio_dev,
if (ret < 0)
return ret;
*val = (ret >> chan->scan_type.shift) &
- GENMASK(chan->scan_type.realbits - 1 , 0);
+ GENMASK(chan->scan_type.realbits - 1, 0);
return IIO_VAL_INT;
}