[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <998881507.2525.1608098449122@seven.thorsis.com>
Date: Wed, 16 Dec 2020 07:00:48 +0100 (CET)
From: Alexander Dahl <ada@...rsis.com>
To: Zheng Yongjun <zhengyongjun3@...wei.com>, pavel@....cz,
dmurphy@...com, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon
Hello,
> Zheng Yongjun <zhengyongjun3@...wei.com> hat am 14.12.2020 14:45 geschrieben:
>
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
> ---
> 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@...rsis.com>
Greets
Alex
Powered by blists - more mailing lists