aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/ledtrig-default-on.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/ledtrig-default-on.c')
-rw-r--r--drivers/leds/ledtrig-default-on.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-default-on.c b/drivers/leds/ledtrig-default-on.c
index 92995e40cfa4..a4ef54b9d508 100644
--- a/drivers/leds/ledtrig-default-on.c
+++ b/drivers/leds/ledtrig-default-on.c
@@ -19,7 +19,7 @@
19 19
20static void defon_trig_activate(struct led_classdev *led_cdev) 20static void defon_trig_activate(struct led_classdev *led_cdev)
21{ 21{
22 led_set_brightness(led_cdev, LED_FULL); 22 led_set_brightness(led_cdev, led_cdev->max_brightness);
23} 23}
24 24
25static struct led_trigger defon_led_trigger = { 25static struct led_trigger defon_led_trigger = {