2023-06-27 09:06:58

by baomingtong001

[permalink] [raw]
Subject: [PATCH] leds: cht-wcove: Remove unneeded semicolon

./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <[email protected]>
---
drivers/leds/leds-cht-wcove.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-cht-wcove.c
b/drivers/leds/leds-cht-wcove.c
index 0cfebee98910..e35a25990048 100644
--- a/drivers/leds/leds-cht-wcove.c
+++ b/drivers/leds/leds-cht-wcove.c
@@ -190,7 +190,7 @@ static unsigned long cht_wc_leds_get_period(int
ctrl)
return 1000;
case CHT_WC_LED_F_2_HZ:
return 1000 / 2;
- };
+ }

return 0;
}
--
2.40.1



2023-07-13 10:28:57

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] leds: cht-wcove: Remove unneeded semicolon

On Tue, 27 Jun 2023, [email protected] wrote:

> ./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon
>
> Signed-off-by: Mingtong Bao <[email protected]>
> ---
> drivers/leds/leds-cht-wcove.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Already fixed I'm afraid:

https://lore.kernel.org/all/[email protected]/

> diff --git a/drivers/leds/leds-cht-wcove.c b/drivers/leds/leds-cht-wcove.c
> index 0cfebee98910..e35a25990048 100644
> --- a/drivers/leds/leds-cht-wcove.c
> +++ b/drivers/leds/leds-cht-wcove.c
> @@ -190,7 +190,7 @@ static unsigned long cht_wc_leds_get_period(int ctrl)
> return 1000;
> case CHT_WC_LED_F_2_HZ:
> return 1000 / 2;
> - };
> + }
>
> return 0;
> }
> --
> 2.40.1
>

--
Lee Jones [李琼斯]