projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c79dd0
)
iio: adc: ad799x: remove space before comma
author
Slawomir Stepien
<sst@poczta.fm>
Thu, 14 Apr 2016 19:36:38 +0000
(21:36 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 16 Apr 2016 12:39:25 +0000
(13:39 +0100)
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>
drivers/iio/adc/ad799x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/ad799x.c
b/drivers/iio/adc/ad799x.c
index 01d71588d752ae0aa73da6abf4019f35d041939a..a3f5254f4e512d1f11e4be9c27b3333095757704 100644
(file)
--- 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;
}