提交 624c389e 编写于 作者: M Mikko Koivunen 提交者: Jonathan Cameron

iio: light: rpr0521 whitespace fixes

Just whitespace change, no functional changes.
Signed-off-by: NMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Acked-by: NDaniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 ae591650
......@@ -371,6 +371,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
*val = le16_to_cpu(raw_data);
return IIO_VAL_INT;
case IIO_CHAN_INFO_SCALE:
mutex_lock(&data->lock);
ret = rpr0521_get_gain(data, chan->address, val, val2);
......@@ -379,6 +380,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
return ret;
return IIO_VAL_INT_PLUS_MICRO;
default:
return -EINVAL;
}
......@@ -398,6 +400,7 @@ static int rpr0521_write_raw(struct iio_dev *indio_dev,
mutex_unlock(&data->lock);
return ret;
default:
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册