All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: light: adux1020: Drop an unwanted semicolon.
@ 2019-10-13 17:38 jic23
  2019-10-15 20:12 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: jic23 @ 2019-10-13 17:38 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Manivannan Sadhasivam

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

Suggested by coccinelle

CHECK   drivers/iio/light/adux1020.c
drivers/iio/light/adux1020.c:747:2-3: Unneeded semicolon

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 drivers/iio/light/adux1020.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/light/adux1020.c b/drivers/iio/light/adux1020.c
index 830e5e95d58f..b07797ac10d7 100644
--- a/drivers/iio/light/adux1020.c
+++ b/drivers/iio/light/adux1020.c
@@ -744,7 +744,7 @@ static int adux1020_chip_init(struct adux1020_data *data)
 	if ((val & ADUX1020_CHIP_ID_MASK) != ADUX1020_CHIP_ID) {
 		dev_err(&client->dev, "invalid chip id 0x%04x\n", val);
 		return -ENODEV;
-	};
+	}
 
 	dev_dbg(&client->dev, "Detected ADUX1020 with chip id: 0x%04x\n", val);
 
-- 
2.23.0


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

end of thread, other threads:[~2019-10-16  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 17:38 [PATCH] iio: light: adux1020: Drop an unwanted semicolon jic23
2019-10-15 20:12 ` Jonathan Cameron
2019-10-16  8:47   ` Manivannan Sadhasivam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.