summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-13 14:18:56 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-11-09 13:16:31 +0100
commitf2d025d3f237686b1b20c323847ce6b368302b2a (patch)
tree2cc8196c3445986694574d8c93b696d757f06f30 /drivers/iio
parentiio: adc: mt6577_auxdac: use devm_platform_ioremap_resource (diff)
downloadlinux-f2d025d3f237686b1b20c323847ce6b368302b2a.tar.xz
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);