Skip to contentSkip to conversation

iio: chemical: sgp30: drop excess semicolon

PATCH In review [email protected] 2 participants 3 messages Oct 13, 2019 – Oct 22, 2019 IIO

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 iio: chemical: sgp30: drop excess semicolon

From: Jonathan Cameron <[email protected]>

Suggested by coccinelle / coccicheck.

CHECK drivers/iio/chemical/sgp30.c
drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon

---
 drivers/iio/chemical/sgp30.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/chemical/sgp30.c +1 -1
index 8cc8fe5e356d..403e8803471a 100644
@@ -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 = {
Signature · 1 line
2.23.0
#1 lore raw

ACK, lgtm. Thanks for forwarding.

Quoted 9 lines · On Sun, 2019-10-13 at 17:54 +0100, [email protected] wrote:

From: Jonathan Cameron <[email protected]>

Suggested by coccinelle / coccicheck.

CHECK drivers/iio/chemical/sgp30.c
drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon

Quoted 18 lines
---
 drivers/iio/chemical/sgp30.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/chemical/sgp30.c +1 -1
index 8cc8fe5e356d..403e8803471a 100644
@@ -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 = {
author maintainer Applied
#2 lore raw
Quoted 8 lines · On Mon, 21 Oct 2019 10:51:35 +0200 Andreas Brauchli…

ACK, lgtm. Thanks for forwarding.

Quoted 4 lines · On Sun, 2019-10-13 at 17:54 +0100, [email protected] wrote:

From: Jonathan Cameron <[email protected]>

Suggested by coccinelle / coccicheck.

Quoted 7 lines
Quoted 5 lines

CHECK drivers/iio/chemical/sgp30.c
drivers/iio/chemical/sgp30.c:486:2-3: Unneeded semicolon

Applied.

Thanks,

Jonathan

Quoted 20 lines
Quoted 19 lines
---
 drivers/iio/chemical/sgp30.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/chemical/sgp30.c +1 -1
index 8cc8fe5e356d..403e8803471a 100644
@@ -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 = {