diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-10 17:36:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 20:24:35 +0100 |
commit | f09906f43b8a0d52e3321db7d6f9d031097b0bc9 (patch) | |
tree | 5f39f0efb356cb3f93ca0544dc315e90918e111c /drivers | |
parent | 87a0c1574d2fd478c24e841c96f5019e5b44762f (diff) | |
download | linux-stable-f09906f43b8a0d52e3321db7d6f9d031097b0bc9.tar.gz linux-stable-f09906f43b8a0d52e3321db7d6f9d031097b0bc9.tar.bz2 linux-stable-f09906f43b8a0d52e3321db7d6f9d031097b0bc9.zip |
staging:iio:ad7192: Add missing break in switch statement
Without the break statement we fall right through to the default case and return
an error value.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/adc/ad7192.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index 22c3923d55eb..b9a74425ff75 100644 --- a/drivers/staging/iio/adc/ad7192.c +++ b/drivers/staging/iio/adc/ad7192.c @@ -890,7 +890,7 @@ static int ad7192_write_raw(struct iio_dev *indio_dev, } ret = 0; } - + break; default: ret = -EINVAL; } |