summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 11:20:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-09-14 11:37:01 +0100
commit540e4dbead08cce5b156cb4e56115f451d9fc74a (patch)
treea34dd3f66c2c7fd36bdf9d1c8c3ebcfe3934b9c5 /drivers/iio/dac
parent52c77c3dcb1c5daa32e2952f6d7f2835abc811a5 (diff)
downloadop-kernel-dev-540e4dbead08cce5b156cb4e56115f451d9fc74a.zip
op-kernel-dev-540e4dbead08cce5b156cb4e56115f451d9fc74a.tar.gz
iio: dac: ad5686: Remove redundant break
'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/ad5686.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad5686.c
index 57825ea..3e1080f 100644
--- a/drivers/iio/dac/ad5686.c
+++ b/drivers/iio/dac/ad5686.c
@@ -213,7 +213,6 @@ static int ad5686_read_raw(struct iio_dev *indio_dev,
return ret;
*val = ret;
return IIO_VAL_INT;
- break;
case IIO_CHAN_INFO_SCALE:
scale_uv = (st->vref_mv * 100000)
>> (chan->scan_type.realbits);
OpenPOWER on IntegriCloud