Message ID | 20191013181013.2399842-1-jic23@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: temp: maxim thermocouple: Drop unneeded semi colon. | expand |
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 >
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 > >
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; }