summaryrefslogtreecommitdiff
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-03-15 12:14:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-25 23:10:14 +0300
commitfcdb03e4310695013f6a6c5a29485b02b13e2662 (patch)
tree09f35efcfb49b78fa87a107f54abf1f994f0c252 /drivers/iio/accel
parent3092bde731ca8c499fa8a4a9e987904abfbf55bf (diff)
downloadlinux-fcdb03e4310695013f6a6c5a29485b02b13e2662.tar.xz
iio: accel: adxl367: Remove second semicolon
There is a statement with two semicolons. Remove the second one, it is redundant. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240315091436.2430227-1-colin.i.king@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/adxl367.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/adxl367.c b/drivers/iio/accel/adxl367.c
index 210228affb80..5cf4828a5eb5 100644
--- a/drivers/iio/accel/adxl367.c
+++ b/drivers/iio/accel/adxl367.c
@@ -621,7 +621,7 @@ static int _adxl367_set_odr(struct adxl367_state *st, enum adxl367_odr odr)
static int adxl367_set_odr(struct iio_dev *indio_dev, enum adxl367_odr odr)
{
iio_device_claim_direct_scoped(return -EBUSY, indio_dev) {
- struct adxl367_state *st = iio_priv(indio_dev);;
+ struct adxl367_state *st = iio_priv(indio_dev);
int ret;
guard(mutex)(&st->lock);