Message ID | 20201027200853.1596699-1-trix@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: adc: at91-sama5d2_adc: remove unneeded semicolon | expand |
On Tue, 27 Oct 2020 13:08:53 -0700 trix@redhat.com wrote: > From: Tom Rix <trix@redhat.com> > > A semicolon is not needed after a switch statement. > > Signed-off-by: Tom Rix <trix@redhat.com> Applied. Thanks, > --- > drivers/iio/adc/at91-sama5d2_adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c > index b917a4714a9c..56cb9a8521be 100644 > --- a/drivers/iio/adc/at91-sama5d2_adc.c > +++ b/drivers/iio/adc/at91-sama5d2_adc.c > @@ -1472,7 +1472,7 @@ static int at91_adc_write_raw(struct iio_dev *indio_dev, > return 0; > default: > return -EINVAL; > - }; > + } > } > > static void at91_adc_dma_init(struct platform_device *pdev)
diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c index b917a4714a9c..56cb9a8521be 100644 --- a/drivers/iio/adc/at91-sama5d2_adc.c +++ b/drivers/iio/adc/at91-sama5d2_adc.c @@ -1472,7 +1472,7 @@ static int at91_adc_write_raw(struct iio_dev *indio_dev, return 0; default: return -EINVAL; - }; + } } static void at91_adc_dma_init(struct platform_device *pdev)