* [PATCH -next] leds: leds-ariel: convert comma to semicolon
@ 2020-12-14 13:45 Zheng Yongjun
2020-12-16 6:00 ` Alexander Dahl
2020-12-17 20:55 ` Pavel Machek
0 siblings, 2 replies; 3+ messages in thread
From: Zheng Yongjun @ 2020-12-14 13:45 UTC (permalink / raw)
To: pavel, dmurphy, linux-leds, linux-kernel; +Cc: Zheng Yongjun
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++) {
--
2.22.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon
2020-12-14 13:45 [PATCH -next] leds: leds-ariel: convert comma to semicolon Zheng Yongjun
@ 2020-12-16 6:00 ` Alexander Dahl
2020-12-17 20:55 ` Pavel Machek
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Dahl @ 2020-12-16 6:00 UTC (permalink / raw)
To: Zheng Yongjun, pavel, dmurphy, linux-leds, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon
2020-12-14 13:45 [PATCH -next] leds: leds-ariel: convert comma to semicolon Zheng Yongjun
2020-12-16 6:00 ` Alexander Dahl
@ 2020-12-17 20:55 ` Pavel Machek
1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2020-12-17 20:55 UTC (permalink / raw)
To: Zheng Yongjun; +Cc: dmurphy, linux-leds, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
On Mon 2020-12-14 21:45:45, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Thanks, applied.
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-17 20:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:45 [PATCH -next] leds: leds-ariel: convert comma to semicolon Zheng Yongjun
2020-12-16 6:00 ` Alexander Dahl
2020-12-17 20:55 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).