diff options
Diffstat (limited to 'drivers/leds/leds-lm355x.c')
-rw-r--r-- | drivers/leds/leds-lm355x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c index 4117235ba618..d81a8e7afd6c 100644 --- a/drivers/leds/leds-lm355x.c +++ b/drivers/leds/leds-lm355x.c | |||
@@ -477,6 +477,7 @@ static int lm355x_probe(struct i2c_client *client, | |||
477 | chip->cdev_flash.name = "flash"; | 477 | chip->cdev_flash.name = "flash"; |
478 | chip->cdev_flash.max_brightness = 16; | 478 | chip->cdev_flash.max_brightness = 16; |
479 | chip->cdev_flash.brightness_set = lm355x_strobe_brightness_set; | 479 | chip->cdev_flash.brightness_set = lm355x_strobe_brightness_set; |
480 | chip->cdev_flash.default_trigger = "flash"; | ||
480 | err = led_classdev_register((struct device *) | 481 | err = led_classdev_register((struct device *) |
481 | &client->dev, &chip->cdev_flash); | 482 | &client->dev, &chip->cdev_flash); |
482 | if (err < 0) | 483 | if (err < 0) |
@@ -486,6 +487,7 @@ static int lm355x_probe(struct i2c_client *client, | |||
486 | chip->cdev_torch.name = "torch"; | 487 | chip->cdev_torch.name = "torch"; |
487 | chip->cdev_torch.max_brightness = 8; | 488 | chip->cdev_torch.max_brightness = 8; |
488 | chip->cdev_torch.brightness_set = lm355x_torch_brightness_set; | 489 | chip->cdev_torch.brightness_set = lm355x_torch_brightness_set; |
490 | chip->cdev_torch.default_trigger = "torch"; | ||
489 | err = led_classdev_register((struct device *) | 491 | err = led_classdev_register((struct device *) |
490 | &client->dev, &chip->cdev_torch); | 492 | &client->dev, &chip->cdev_torch); |
491 | if (err < 0) | 493 | if (err < 0) |