Skip to contentSkip to conversation

iio: temp: maxim thermocouple: Drop unneeded semi colon.

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

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 iio: temp: maxim thermocouple: Drop unneeded semi colon.

From: Jonathan Cameron <[email protected]>

Identified by coccinelle

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

---
 drivers/iio/temperature/maxim_thermocouple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/temperature/maxim_thermocouple.c +1 -1
index 2ab68282d0b6..d1360605209c 100644
@@ -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;
 	}
 
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · On Sun, Oct 13, 2019 at 9:12 PM <[email protected]> wrote:

From: Jonathan Cameron <[email protected]>

Identified by coccinelle

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

Quoted 20 lines
---
 drivers/iio/temperature/maxim_thermocouple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/temperature/maxim_thermocouple.c +1 -2
index 2ab68282d0b6..d1360605209c 100644
@@ -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

author maintainer Applied
#2 lore raw
Quoted 6 lines · On Sun, 13 Oct 2019 22:12:40 +0300 Matt Ranostay <[email protected]>…
Quoted 5 lines · On Sun, Oct 13, 2019 at 9:12 PM <[email protected]> wrote:

From: Jonathan Cameron <[email protected]>

Identified by coccinelle

Quoted 7 lines
Quoted 5 lines

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

Applied.

Thanks,

Jonathan

Quoted 21 lines
Quoted 21 lines
---
 drivers/iio/temperature/maxim_thermocouple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/temperature/maxim_thermocouple.c +1 -2
index 2ab68282d0b6..d1360605209c 100644
@@ -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