mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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>
This commit is contained in:
parent
87a0c1574d
commit
f09906f43b
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ static int ad7192_write_raw(struct iio_dev *indio_dev,
|
|||
}
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
ret = -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue