Commit 102447ad authored by Slawomir Stepien's avatar Slawomir Stepien Committed by Jonathan Cameron

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: default avatarSlawomir Stepien <sst@poczta.fm>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 4c79dd00
...@@ -477,7 +477,7 @@ static int ad799x_read_event_value(struct iio_dev *indio_dev, ...@@ -477,7 +477,7 @@ static int ad799x_read_event_value(struct iio_dev *indio_dev,
if (ret < 0) if (ret < 0)
return ret; return ret;
*val = (ret >> chan->scan_type.shift) & *val = (ret >> chan->scan_type.shift) &
GENMASK(chan->scan_type.realbits - 1 , 0); GENMASK(chan->scan_type.realbits - 1, 0);
return IIO_VAL_INT; return IIO_VAL_INT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment