linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: chemical: sgp30: drop excess semicolon
@ 2019-10-13 16:54 jic23
  2019-10-21  8:51 ` Andreas Brauchli
  0 siblings, 1 reply; 3+ messages in thread
From: jic23 @ 2019-10-13 16:54 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Andreas Brauchli

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(-)

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 = {
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: chemical: sgp30: drop excess semicolon
  2019-10-13 16:54 [PATCH] iio: chemical: sgp30: drop excess semicolon jic23
@ 2019-10-21  8:51 ` Andreas Brauchli
  2019-10-22 11:41   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Brauchli @ 2019-10-21  8:51 UTC (permalink / raw)
  To: jic23, linux-iio; +Cc: Jonathan Cameron

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 = {


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: chemical: sgp30: drop excess semicolon
  2019-10-21  8:51 ` Andreas Brauchli
@ 2019-10-22 11:41   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-10-22 11:41 UTC (permalink / raw)
  To: Andreas Brauchli; +Cc: linux-iio, Jonathan Cameron

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 = {  
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-22 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 16:54 [PATCH] iio: chemical: sgp30: drop excess semicolon jic23
2019-10-21  8:51 ` Andreas Brauchli
2019-10-22 11:41   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).