diff mbox series

iio: chemical: sgp30: drop excess semicolon

Message ID 20191013165412.2090798-1-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series iio: chemical: sgp30: drop excess semicolon | expand

Commit Message

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

Suggested by coccinelle / coccicheck.

CHECK   drivers/iio/chemical/sgp30.c
drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Andreas Brauchli <a.brauchli@elementarea.net>
---
 drivers/iio/chemical/sgp30.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Brauchli Oct. 21, 2019, 8:51 a.m. UTC | #1
ACK, lgtm. Thanks for forwarding.


On Sun, 2019-10-13 at 17:54 +0100, jic23@kernel.org wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> Suggested by coccinelle / coccicheck.
> 
> CHECK   drivers/iio/chemical/sgp30.c
> drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Andreas Brauchli <a.brauchli@elementarea.net>

Signed-off-by: Andreas Brauchli <a.brauchli@elementarea.net>

> ---
>  drivers/iio/chemical/sgp30.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/chemical/sgp30.c
> b/drivers/iio/chemical/sgp30.c
> index 8cc8fe5e356d..403e8803471a 100644
> --- a/drivers/iio/chemical/sgp30.c
> +++ b/drivers/iio/chemical/sgp30.c
> @@ -483,7 +483,7 @@ static void sgp_init(struct sgp_data *data)
>  		data->iaq_defval_skip_jiffies =
>  			43 * data->measure_interval_jiffies;
>  		break;
> -	};
> +	}
>  }
>  
>  static const struct iio_info sgp_info = {
Jonathan Cameron Oct. 22, 2019, 11:41 a.m. UTC | #2
On Mon, 21 Oct 2019 10:51:35 +0200
Andreas Brauchli <a.brauchli@elementarea.net> wrote:

> ACK, lgtm. Thanks for forwarding.
> 
> 
> On Sun, 2019-10-13 at 17:54 +0100, jic23@kernel.org wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > 
> > Suggested by coccinelle / coccicheck.
> > 
> > CHECK   drivers/iio/chemical/sgp30.c
> > drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon
> > 
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Andreas Brauchli <a.brauchli@elementarea.net>  
> 
> Signed-off-by: Andreas Brauchli <a.brauchli@elementarea.net>
Applied.

Thanks,

Jonathan

> 
> > ---
> >  drivers/iio/chemical/sgp30.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/iio/chemical/sgp30.c
> > b/drivers/iio/chemical/sgp30.c
> > index 8cc8fe5e356d..403e8803471a 100644
> > --- a/drivers/iio/chemical/sgp30.c
> > +++ b/drivers/iio/chemical/sgp30.c
> > @@ -483,7 +483,7 @@ static void sgp_init(struct sgp_data *data)
> >  		data->iaq_defval_skip_jiffies =
> >  			43 * data->measure_interval_jiffies;
> >  		break;
> > -	};
> > +	}
> >  }
> >  
> >  static const struct iio_info sgp_info = {  
>
diff mbox series

Patch

diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c
index 8cc8fe5e356d..403e8803471a 100644
--- a/drivers/iio/chemical/sgp30.c
+++ b/drivers/iio/chemical/sgp30.c
@@ -483,7 +483,7 @@  static void sgp_init(struct sgp_data *data)
 		data->iaq_defval_skip_jiffies =
 			43 * data->measure_interval_jiffies;
 		break;
-	};
+	}
 }
 
 static const struct iio_info sgp_info = {