diff options
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 99bc50059d35..6c0a9c4761ee 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -85,7 +85,7 @@ static int gpio_led_probe(struct platform_device *pdev) | |||
85 | led_dat->can_sleep = gpio_cansleep(cur_led->gpio); | 85 | led_dat->can_sleep = gpio_cansleep(cur_led->gpio); |
86 | led_dat->active_low = cur_led->active_low; | 86 | led_dat->active_low = cur_led->active_low; |
87 | led_dat->cdev.brightness_set = gpio_led_set; | 87 | led_dat->cdev.brightness_set = gpio_led_set; |
88 | led_dat->cdev.brightness = cur_led->active_low ? LED_FULL : LED_OFF; | 88 | led_dat->cdev.brightness = LED_OFF; |
89 | 89 | ||
90 | ret = gpio_request(led_dat->gpio, led_dat->cdev.name); | 90 | ret = gpio_request(led_dat->gpio, led_dat->cdev.name); |
91 | if (ret < 0) | 91 | if (ret < 0) |