summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 14:20:00 +0400
committerJonathan Cameron <jic23@kernel.org>2013-09-14 14:37:01 +0400
commit52c77c3dcb1c5daa32e2952f6d7f2835abc811a5 (patch)
tree5705521752e3823972d9c09e6fe563c1ba576964 /drivers/iio/gyro
parent356e9fa4e59afe0a63bcd519504ed3f64b83ab24 (diff)
downloadlinux-52c77c3dcb1c5daa32e2952f6d7f2835abc811a5.tar.xz
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')
-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)