summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-13 13:18:56 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-11-09 12:16:31 +0000
commitf2d025d3f237686b1b20c323847ce6b368302b2a (patch)
tree2cc8196c3445986694574d8c93b696d757f06f30 /drivers/iio
parent38877a376adf5d11c56bacd4b953050931c1bd0a (diff)
downloadlinux-f2d025d3f237686b1b20c323847ce6b368302b2a.tar.gz
linux-f2d025d3f237686b1b20c323847ce6b368302b2a.tar.bz2
linux-f2d025d3f237686b1b20c323847ce6b368302b2a.zip
iio: adc: bcm_iproc_adc: drop a stray semicolon
Found by coccinelle / coccicheck CHECK drivers/iio/adc/bcm_iproc_adc.c drivers/iio/adc/bcm_iproc_adc.c:311:3-4: Unneeded semicolon Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Cc: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/bcm_iproc_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/bcm_iproc_adc.c b/drivers/iio/adc/bcm_iproc_adc.c
index 646ebdc0a8b4..5e396104ac86 100644
--- a/drivers/iio/adc/bcm_iproc_adc.c
+++ b/drivers/iio/adc/bcm_iproc_adc.c
@@ -308,7 +308,7 @@ static int iproc_adc_do_read(struct iio_dev *indio_dev,
"IntMask set failed. Read will likely fail.");
read_len = -EIO;
goto adc_err;
- };
+ }
}
regmap_read(adc_priv->regmap, IPROC_INTERRUPT_MASK, &val_check);