Skip to content

Commit fcc96ce

Browse files
Zheng Yongjunpavelmachek
authored andcommitted
leds-lm3642: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent d9dfac5 commit fcc96ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/leds/leds-lm3642.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static int lm3642_probe(struct i2c_client *client,
339339
chip->cdev_flash.max_brightness = 16;
340340
chip->cdev_flash.brightness_set_blocking = lm3642_strobe_brightness_set;
341341
chip->cdev_flash.default_trigger = "flash";
342-
chip->cdev_flash.groups = lm3642_flash_groups,
342+
chip->cdev_flash.groups = lm3642_flash_groups;
343343
err = led_classdev_register(&client->dev, &chip->cdev_flash);
344344
if (err < 0) {
345345
dev_err(chip->dev, "failed to register flash\n");
@@ -351,7 +351,7 @@ static int lm3642_probe(struct i2c_client *client,
351351
chip->cdev_torch.max_brightness = 8;
352352
chip->cdev_torch.brightness_set_blocking = lm3642_torch_brightness_set;
353353
chip->cdev_torch.default_trigger = "torch";
354-
chip->cdev_torch.groups = lm3642_torch_groups,
354+
chip->cdev_torch.groups = lm3642_torch_groups;
355355
err = led_classdev_register(&client->dev, &chip->cdev_torch);
356356
if (err < 0) {
357357
dev_err(chip->dev, "failed to register torch\n");

0 commit comments

Comments
 (0)