mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
leds: leds-mc13783: Use LED core PM functions
Signed-off-by: Bryan Wu <cooloney@gmail.com>
This commit is contained in:
parent
a59ce6584d
commit
02e9e11e24
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user