From: Alexander Shiyan Date: Sat, 1 Feb 2014 06:36:29 +0000 (-0800) Subject: leds: leds-mc13783: Use LED core PM functions X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=02e9e11e24c30828a26daad04f9f165906b62efd;p=linux-beck.git leds: leds-mc13783: Use LED core PM functions Signed-off-by: Bryan Wu --- diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index 68f2455c672f..491309a9551c 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c @@ -184,6 +184,7 @@ static int __init mc13xxx_led_probe(struct platform_device *pdev) leds->led[i].leds = leds; leds->led[i].cdev.name = name; leds->led[i].cdev.default_trigger = trig; + leds->led[i].cdev.flags = LED_CORE_SUSPENDRESUME; leds->led[i].cdev.brightness_set = mc13xxx_led_set; leds->led[i].cdev.brightness = LED_OFF;