diff mbox series

[1/2] iio: adc: exynos: Drop a stray semicolon

Message ID 20191013123524.1821390-1-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/2] iio: adc: exynos: Drop a stray semicolon | expand

Commit Message

Jonathan Cameron Oct. 13, 2019, 12:35 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Identified by coccinelle
drivers/iio/adc/exynos_adc.c:654:2-3: Unneeded semicolon

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/adc/exynos_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chanwoo Choi Oct. 14, 2019, 2:18 a.m. UTC | #1
Hi,

On 19. 10. 13. 오후 9:35, jic23@kernel.org wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> Identified by coccinelle
> drivers/iio/adc/exynos_adc.c:654:2-3: Unneeded semicolon
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
>  drivers/iio/adc/exynos_adc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
> index 42a3ced11fbd..b5a497381452 100644
> --- a/drivers/iio/adc/exynos_adc.c
> +++ b/drivers/iio/adc/exynos_adc.c
> @@ -651,7 +651,7 @@ static irqreturn_t exynos_ts_isr(int irq, void *dev_id)
>  		input_sync(info->input);
>  
>  		usleep_range(1000, 1100);
> -	};
> +	}
>  
>  	writel(0, ADC_V1_CLRINTPNDNUP(info->regs));
>  
> 

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Jonathan Cameron Oct. 18, 2019, 6:59 p.m. UTC | #2
On Mon, 14 Oct 2019 11:18:43 +0900
Chanwoo Choi <cw00.choi@samsung.com> wrote:

> Hi,
> 
> On 19. 10. 13. 오후 9:35, jic23@kernel.org wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > 
> > Identified by coccinelle
> > drivers/iio/adc/exynos_adc.c:654:2-3: Unneeded semicolon
> > 
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > ---
> >  drivers/iio/adc/exynos_adc.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
> > index 42a3ced11fbd..b5a497381452 100644
> > --- a/drivers/iio/adc/exynos_adc.c
> > +++ b/drivers/iio/adc/exynos_adc.c
> > @@ -651,7 +651,7 @@ static irqreturn_t exynos_ts_isr(int irq, void *dev_id)
> >  		input_sync(info->input);
> >  
> >  		usleep_range(1000, 1100);
> > -	};
> > +	}
> >  
> >  	writel(0, ADC_V1_CLRINTPNDNUP(info->regs));
> >  
> >   
> 
> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Applied.

Thanks,

Jonathan

>
diff mbox series

Patch

diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
index 42a3ced11fbd..b5a497381452 100644
--- a/drivers/iio/adc/exynos_adc.c
+++ b/drivers/iio/adc/exynos_adc.c
@@ -651,7 +651,7 @@  static irqreturn_t exynos_ts_isr(int irq, void *dev_id)
 		input_sync(info->input);
 
 		usleep_range(1000, 1100);
-	};
+	}
 
 	writel(0, ADC_V1_CLRINTPNDNUP(info->regs));