Skip to content

Commit

Permalink
leds: leds-ariel: convert comma to semicolon
Browse files Browse the repository at this point in the history
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
  • Loading branch information
Zheng Yongjun authored and pavelmachek committed Jan 31, 2021
1 parent 4e04b11 commit 47854d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/leds/leds-ariel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 47854d2

Please sign in to comment.