Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon
From: Alexander Dahl
Date: Wed Dec 16 2020 - 01:01:39 EST
Hello,
> Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> hat am 14.12.2020 14:45 geschrieben:
>
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> drivers/leds/leds-ariel.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/leds/leds-ariel.c b/drivers/leds/leds-ariel.c
> index bb68ba23a7d4..49e1bddaa15e 100644
> --- a/drivers/leds/leds-ariel.c
> +++ b/drivers/leds/leds-ariel.c
> @@ -96,14 +96,14 @@ static int ariel_led_probe(struct platform_device *pdev)
> return -ENOMEM;
>
> leds[0].ec_index = EC_BLUE_LED;
> - leds[0].led_cdev.name = "blue:power",
> + leds[0].led_cdev.name = "blue:power";
> leds[0].led_cdev.default_trigger = "default-on";
>
> leds[1].ec_index = EC_AMBER_LED;
> - leds[1].led_cdev.name = "amber:status",
> + leds[1].led_cdev.name = "amber:status";
>
> leds[2].ec_index = EC_GREEN_LED;
> - leds[2].led_cdev.name = "green:status",
> + leds[2].led_cdev.name = "green:status";
> leds[2].led_cdev.default_trigger = "default-on";
>
> for (i = 0; i < NLEDS; i++) {
Reviewed-by: Alexander Dahl <ada@xxxxxxxxxxx>
Greets
Alex