Commit 624c389e authored by Mikko Koivunen's avatar Mikko Koivunen Committed by Jonathan Cameron

iio: light: rpr0521 whitespace fixes

Just whitespace change, no functional changes.
Signed-off-by: default avatarMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent ae591650
...@@ -371,6 +371,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev, ...@@ -371,6 +371,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
*val = le16_to_cpu(raw_data); *val = le16_to_cpu(raw_data);
return IIO_VAL_INT; return IIO_VAL_INT;
case IIO_CHAN_INFO_SCALE: case IIO_CHAN_INFO_SCALE:
mutex_lock(&data->lock); mutex_lock(&data->lock);
ret = rpr0521_get_gain(data, chan->address, val, val2); ret = rpr0521_get_gain(data, chan->address, val, val2);
...@@ -379,6 +380,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev, ...@@ -379,6 +380,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
return ret; return ret;
return IIO_VAL_INT_PLUS_MICRO; return IIO_VAL_INT_PLUS_MICRO;
default: default:
return -EINVAL; return -EINVAL;
} }
...@@ -398,6 +400,7 @@ static int rpr0521_write_raw(struct iio_dev *indio_dev, ...@@ -398,6 +400,7 @@ static int rpr0521_write_raw(struct iio_dev *indio_dev,
mutex_unlock(&data->lock); mutex_unlock(&data->lock);
return ret; return ret;
default: default:
return -EINVAL; return -EINVAL;
} }
......
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