* [PATCH] iio: light: apds9960: remove unneeded semicolon
@ 2020-10-27 20:14 trix
2020-10-28 4:36 ` Matt Ranostay
0 siblings, 1 reply; 3+ messages in thread
From: trix @ 2020-10-27 20:14 UTC (permalink / raw)
To: jic23, lars, pmeerw, alexandru.ardelean, linus.walleij
Cc: linux-iio, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/iio/light/apds9960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
index 9afb3fcc74e6..547e7f9d6920 100644
--- a/drivers/iio/light/apds9960.c
+++ b/drivers/iio/light/apds9960.c
@@ -561,7 +561,7 @@ static int apds9960_write_raw(struct iio_dev *indio_dev,
}
default:
return -EINVAL;
- };
+ }
return 0;
}
--
2.18.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: light: apds9960: remove unneeded semicolon
2020-10-27 20:14 [PATCH] iio: light: apds9960: remove unneeded semicolon trix
@ 2020-10-28 4:36 ` Matt Ranostay
2020-10-29 14:52 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Matt Ranostay @ 2020-10-28 4:36 UTC (permalink / raw)
To: trix
Cc: Jonathan Cameron, Lars-Peter Clausen, Peter Meerwald-Stadler,
Alexandru Ardelean, Linus Walleij,
open list:IIO SUBSYSTEM AND DRIVERS, open list
On Tue, Oct 27, 2020 at 1:14 PM <trix@redhat.com> wrote:
>
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> drivers/iio/light/apds9960.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
> index 9afb3fcc74e6..547e7f9d6920 100644
> --- a/drivers/iio/light/apds9960.c
> +++ b/drivers/iio/light/apds9960.c
> @@ -561,7 +561,7 @@ static int apds9960_write_raw(struct iio_dev *indio_dev,
> }
> default:
> return -EINVAL;
> - };
> + }
>
> return 0;
> }
> --
> 2.18.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: light: apds9960: remove unneeded semicolon
2020-10-28 4:36 ` Matt Ranostay
@ 2020-10-29 14:52 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2020-10-29 14:52 UTC (permalink / raw)
To: Matt Ranostay
Cc: trix, Lars-Peter Clausen, Peter Meerwald-Stadler,
Alexandru Ardelean, Linus Walleij,
open list:IIO SUBSYSTEM AND DRIVERS, open list
On Tue, 27 Oct 2020 21:36:17 -0700
Matt Ranostay <matt.ranostay@konsulko.com> wrote:
> On Tue, Oct 27, 2020 at 1:14 PM <trix@redhat.com> wrote:
> >
> > From: Tom Rix <trix@redhat.com>
> >
> > A semicolon is not needed after a switch statement.
> >
>
> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Applied to the togreg branch of iio.git. I'll push that out later as
testing for the autobuilders to poke at it.
Thanks,
Jonathan
>
> > Signed-off-by: Tom Rix <trix@redhat.com>
> > ---
> > drivers/iio/light/apds9960.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
> > index 9afb3fcc74e6..547e7f9d6920 100644
> > --- a/drivers/iio/light/apds9960.c
> > +++ b/drivers/iio/light/apds9960.c
> > @@ -561,7 +561,7 @@ static int apds9960_write_raw(struct iio_dev *indio_dev,
> > }
> > default:
> > return -EINVAL;
> > - };
> > + }
> >
> > return 0;
> > }
> > --
> > 2.18.1
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-29 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 20:14 [PATCH] iio: light: apds9960: remove unneeded semicolon trix
2020-10-28 4:36 ` Matt Ranostay
2020-10-29 14:52 ` 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).