linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: temp: maxim thermocouple: Drop unneeded semi colon.
@ 2019-10-13 18:10 jic23
  2019-10-13 19:12 ` Matt Ranostay
  0 siblings, 1 reply; 3+ messages in thread
From: jic23 @ 2019-10-13 18:10 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Matt Ranostay

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Identified by coccinelle

CHECK   drivers/iio/temperature/maxim_thermocouple.c
drivers/iio/temperature/maxim_thermocouple.c:197:3-4: Unneeded semicolon

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Matt Ranostay <matt.ranostay@konsulko.com>
---
 drivers/iio/temperature/maxim_thermocouple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
index 2ab68282d0b6..d1360605209c 100644
--- a/drivers/iio/temperature/maxim_thermocouple.c
+++ b/drivers/iio/temperature/maxim_thermocouple.c
@@ -194,7 +194,7 @@ static int maxim_thermocouple_read_raw(struct iio_dev *indio_dev,
 		default:
 			*val = 250; /* 1000 * 0.25 */
 			ret = IIO_VAL_INT;
-		};
+		}
 		break;
 	}
 
-- 
2.23.0


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

* Re: [PATCH] iio: temp: maxim thermocouple: Drop unneeded semi colon.
  2019-10-13 18:10 [PATCH] iio: temp: maxim thermocouple: Drop unneeded semi colon jic23
@ 2019-10-13 19:12 ` Matt Ranostay
  2019-10-18 19:04   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Ranostay @ 2019-10-13 19:12 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: open list:IIO SUBSYSTEM AND DRIVERS, Jonathan Cameron

On Sun, Oct 13, 2019 at 9:12 PM <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Identified by coccinelle
>
> CHECK   drivers/iio/temperature/maxim_thermocouple.c
> drivers/iio/temperature/maxim_thermocouple.c:197:3-4: Unneeded semicolon
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Matt Ranostay <matt.ranostay@konsulko.com>

Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>

> ---
>  drivers/iio/temperature/maxim_thermocouple.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
> index 2ab68282d0b6..d1360605209c 100644
> --- a/drivers/iio/temperature/maxim_thermocouple.c
> +++ b/drivers/iio/temperature/maxim_thermocouple.c
> @@ -194,7 +194,7 @@ static int maxim_thermocouple_read_raw(struct iio_dev *indio_dev,
>                 default:
>                         *val = 250; /* 1000 * 0.25 */
>                         ret = IIO_VAL_INT;
> -               };
> +               }
>                 break;
>         }
>
> --
> 2.23.0
>

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

* Re: [PATCH] iio: temp: maxim thermocouple: Drop unneeded semi colon.
  2019-10-13 19:12 ` Matt Ranostay
@ 2019-10-18 19:04   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-10-18 19:04 UTC (permalink / raw)
  To: Matt Ranostay; +Cc: open list:IIO SUBSYSTEM AND DRIVERS, Jonathan Cameron

On Sun, 13 Oct 2019 22:12:40 +0300
Matt Ranostay <matt.ranostay@konsulko.com> wrote:

> On Sun, Oct 13, 2019 at 9:12 PM <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Identified by coccinelle
> >
> > CHECK   drivers/iio/temperature/maxim_thermocouple.c
> > drivers/iio/temperature/maxim_thermocouple.c:197:3-4: Unneeded semicolon
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Matt Ranostay <matt.ranostay@konsulko.com>  
> 
> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Applied.

Thanks,

Jonathan

> 
> > ---
> >  drivers/iio/temperature/maxim_thermocouple.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
> > index 2ab68282d0b6..d1360605209c 100644
> > --- a/drivers/iio/temperature/maxim_thermocouple.c
> > +++ b/drivers/iio/temperature/maxim_thermocouple.c
> > @@ -194,7 +194,7 @@ static int maxim_thermocouple_read_raw(struct iio_dev *indio_dev,
> >                 default:
> >                         *val = 250; /* 1000 * 0.25 */
> >                         ret = IIO_VAL_INT;
> > -               };
> > +               }
> >                 break;
> >         }
> >
> > --
> > 2.23.0
> >  


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

end of thread, other threads:[~2019-10-18 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 18:10 [PATCH] iio: temp: maxim thermocouple: Drop unneeded semi colon jic23
2019-10-13 19:12 ` Matt Ranostay
2019-10-18 19:04   ` 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).