Commit 540e4dbe authored by Sachin Kamat's avatar Sachin Kamat Committed by Jonathan Cameron

iio: dac: ad5686: Remove redundant break

'break' after return is redundant. Remove it.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 52c77c3d
...@@ -213,7 +213,6 @@ static int ad5686_read_raw(struct iio_dev *indio_dev, ...@@ -213,7 +213,6 @@ static int ad5686_read_raw(struct iio_dev *indio_dev,
return ret; return ret;
*val = ret; *val = ret;
return IIO_VAL_INT; return IIO_VAL_INT;
break;
case IIO_CHAN_INFO_SCALE: case IIO_CHAN_INFO_SCALE:
scale_uv = (st->vref_mv * 100000) scale_uv = (st->vref_mv * 100000)
>> (chan->scan_type.realbits); >> (chan->scan_type.realbits);
......
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