aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 06:20:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-09-14 06:37:01 -0400
commit540e4dbead08cce5b156cb4e56115f451d9fc74a (patch)
treea34dd3f66c2c7fd36bdf9d1c8c3ebcfe3934b9c5 /drivers/iio/dac
parent52c77c3dcb1c5daa32e2952f6d7f2835abc811a5 (diff)
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 57825ead7db2..3e1080feedbf 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,
213 return ret; 213 return ret;
214 *val = ret; 214 *val = ret;
215 return IIO_VAL_INT; 215 return IIO_VAL_INT;
216 break;
217 case IIO_CHAN_INFO_SCALE: 216 case IIO_CHAN_INFO_SCALE:
218 scale_uv = (st->vref_mv * 100000) 217 scale_uv = (st->vref_mv * 100000)
219 >> (chan->scan_type.realbits); 218 >> (chan->scan_type.realbits);