summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/adxrs450.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 12:20:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-09-14 12:37:01 +0200
commit52c77c3dcb1c5daa32e2952f6d7f2835abc811a5 (patch)
tree5705521752e3823972d9c09e6fe563c1ba576964 /drivers/iio/gyro/adxrs450.c
parentiio: gyro: adis16260: Remove redundant break (diff)
downloadlinux-52c77c3dcb1c5daa32e2952f6d7f2835abc811a5.tar.xz
linux-52c77c3dcb1c5daa32e2952f6d7f2835abc811a5.zip
iio: gyro: adxrs450: 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/gyro/adxrs450.c')
-rw-r--r--drivers/iio/gyro/adxrs450.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/adxrs450.c b/drivers/iio/gyro/adxrs450.c
index 6dab2995f0f2..c1f40efbf639 100644
--- a/drivers/iio/gyro/adxrs450.c
+++ b/drivers/iio/gyro/adxrs450.c
@@ -354,7 +354,6 @@ static int adxrs450_read_raw(struct iio_dev *indio_dev,
default:
return -EINVAL;
}
- break;
case IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW:
ret = adxrs450_spi_read_reg_16(indio_dev, ADXRS450_QUAD1, &t);
if (ret)