From: Alexander Dahl <ada@thorsis.com>
To: Zheng Yongjun <zhengyongjun3@huawei.com>,
pavel@ucw.cz, dmurphy@ti.com, linux-leds@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon
Date: Wed, 16 Dec 2020 07:00:48 +0100 (CET) [thread overview]
Message-ID: <998881507.2525.1608098449122@seven.thorsis.com> (raw)
In-Reply-To: <20201214134545.4884-1-zhengyongjun3@huawei.com>
Hello,
> Zheng Yongjun <zhengyongjun3@huawei.com> hat am 14.12.2020 14:45 geschrieben:
>
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.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@thorsis.com>
Greets
Alex
next prev parent reply other threads:[~2020-12-16 6:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 13:45 Zheng Yongjun
2020-12-16 6:00 ` Alexander Dahl [this message]
2020-12-17 20:55 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=998881507.2525.1608098449122@seven.thorsis.com \
--to=ada@thorsis.com \
--cc=dmurphy@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=zhengyongjun3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®