Commit fcc96cef authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Pavel Machek

leds-lm3642: convert comma to semicolon

Replace a comma between expression statements by a semicolon.
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent d9dfac54
...@@ -339,7 +339,7 @@ static int lm3642_probe(struct i2c_client *client, ...@@ -339,7 +339,7 @@ static int lm3642_probe(struct i2c_client *client,
chip->cdev_flash.max_brightness = 16; chip->cdev_flash.max_brightness = 16;
chip->cdev_flash.brightness_set_blocking = lm3642_strobe_brightness_set; chip->cdev_flash.brightness_set_blocking = lm3642_strobe_brightness_set;
chip->cdev_flash.default_trigger = "flash"; chip->cdev_flash.default_trigger = "flash";
chip->cdev_flash.groups = lm3642_flash_groups, chip->cdev_flash.groups = lm3642_flash_groups;
err = led_classdev_register(&client->dev, &chip->cdev_flash); err = led_classdev_register(&client->dev, &chip->cdev_flash);
if (err < 0) { if (err < 0) {
dev_err(chip->dev, "failed to register flash\n"); dev_err(chip->dev, "failed to register flash\n");
...@@ -351,7 +351,7 @@ static int lm3642_probe(struct i2c_client *client, ...@@ -351,7 +351,7 @@ static int lm3642_probe(struct i2c_client *client,
chip->cdev_torch.max_brightness = 8; chip->cdev_torch.max_brightness = 8;
chip->cdev_torch.brightness_set_blocking = lm3642_torch_brightness_set; chip->cdev_torch.brightness_set_blocking = lm3642_torch_brightness_set;
chip->cdev_torch.default_trigger = "torch"; chip->cdev_torch.default_trigger = "torch";
chip->cdev_torch.groups = lm3642_torch_groups, chip->cdev_torch.groups = lm3642_torch_groups;
err = led_classdev_register(&client->dev, &chip->cdev_torch); err = led_classdev_register(&client->dev, &chip->cdev_torch);
if (err < 0) { if (err < 0) {
dev_err(chip->dev, "failed to register torch\n"); dev_err(chip->dev, "failed to register torch\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment