diff mbox series

leds: cht-wcove: Remove unneeded semicolon

Message ID e66d4beb79da0bfa18269c390f1ed5ef@208suo.com
State New
Headers show
Series leds: cht-wcove: Remove unneeded semicolon | expand

Commit Message

baomingtong001@208suo.com June 27, 2023, 8:59 a.m. UTC
./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <baomingtong001@208suo.com>
---
  drivers/leds/leds-cht-wcove.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

  }

Comments

Lee Jones July 13, 2023, 10:12 a.m. UTC | #1
On Tue, 27 Jun 2023, baomingtong001@208suo.com wrote:

> ./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon
> 
> Signed-off-by: Mingtong Bao <baomingtong001@208suo.com>
> ---
>  drivers/leds/leds-cht-wcove.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Already fixed I'm afraid:

https://lore.kernel.org/all/20230531024020.106641-1-jiapeng.chong@linux.alibaba.com/

> 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
>
diff mbox series

Patch

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;