iio: imu: lsm6dsr: Fix fall-through warning for Clang

drivers/iio/imu/st_lsm6dsr/st_lsm6dsr_core.c:1129:4: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iaa46d98150f27e1ea410e52a580d636de23b5c28
This commit is contained in:
Tao Huang
2023-06-28 11:29:34 +08:00
parent 1ce4377b68
commit 756a7e4cb2

View File

@@ -1126,6 +1126,7 @@ static int st_lsm6dsr_write_raw(struct iio_dev *iio_dev,
break;
err = st_lsm6dsr_update_batching(iio_dev, 1);
break;
default:
break;
}