linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: adc: at91-sama5d2_adc: remove unneeded semicolon
@ 2020-10-27 20:08 trix
  2020-10-29 14:57 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-10-27 20:08 UTC (permalink / raw)
  To: eugen.hristev, jic23, lars, pmeerw, nicolas.ferre,
	alexandre.belloni, ludovic.desroches
  Cc: linux-iio, linux-arm-kernel, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/iio/adc/at91-sama5d2_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
index b917a4714a9c..56cb9a8521be 100644
--- a/drivers/iio/adc/at91-sama5d2_adc.c
+++ b/drivers/iio/adc/at91-sama5d2_adc.c
@@ -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)
-- 
2.18.1


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

* Re: [PATCH] iio: adc: at91-sama5d2_adc: remove unneeded semicolon
  2020-10-27 20:08 [PATCH] iio: adc: at91-sama5d2_adc: remove unneeded semicolon trix
@ 2020-10-29 14:57 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-10-29 14:57 UTC (permalink / raw)
  To: trix
  Cc: eugen.hristev, lars, pmeerw, nicolas.ferre, alexandre.belloni,
	ludovic.desroches, linux-iio, linux-arm-kernel, linux-kernel

On Tue, 27 Oct 2020 13:08:53 -0700
trix@redhat.com wrote:

> From: Tom Rix <trix@redhat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
Applied.

Thanks,
> ---
>  drivers/iio/adc/at91-sama5d2_adc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
> index b917a4714a9c..56cb9a8521be 100644
> --- a/drivers/iio/adc/at91-sama5d2_adc.c
> +++ b/drivers/iio/adc/at91-sama5d2_adc.c
> @@ -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)


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

end of thread, other threads:[~2020-10-29 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 20:08 [PATCH] iio: adc: at91-sama5d2_adc: remove unneeded semicolon trix
2020-10-29 14:57 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).