Skip to contentSkip to conversation

iio: adc: at91-sama5d2_adc: remove unneeded semicolon

PATCH Applied [email protected] 2 participants 2 messages Oct 27, 2020 – Oct 29, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: at91-sama5d2_adc: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/iio/adc/at91-sama5d2_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/at91-sama5d2_adc.c +1 -1
index b917a4714a9c..56cb9a8521be 100644
@@ -1472,7 +1472,7 @@ static int at91_adc_write_raw(struct iio_dev *indio_dev,
 		return 0;
 	default:
 		return -EINVAL;
-	};
+	}
 }
 
 static void at91_adc_dma_init(struct platform_device *pdev)
Signature · 1 line
2.18.1
maintainer Applied
#1 lore raw
Quoted 5 lines · On Tue, 27 Oct 2020 13:08:53 -0700 [email protected] wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

Applied.

Thanks,

Quoted 17 lines
---
 drivers/iio/adc/at91-sama5d2_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/at91-sama5d2_adc.c +1 -1
index b917a4714a9c..56cb9a8521be 100644
@@ -1472,7 +1472,7 @@ static int at91_adc_write_raw(struct iio_dev *indio_dev,
 		return 0;
 	default:
 		return -EINVAL;
-	};
+	}
 }
 
 static void at91_adc_dma_init(struct platform_device *pdev)