]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: sead3: Use generic suspend/resume for LEDs.
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Mar 2013 16:54:17 +0000 (11:54 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 8 May 2013 10:30:09 +0000 (12:30 +0200)
commit041b6131d31c20f11b1bb1dc7ff0b6be8d791244
tree35cdb9746d3f382a24841801da51cd3a01a7a35b
parent98a522739b9e0d32a7e9d58a8ffe8619b5fde3a0
MIPS: sead3: Use generic suspend/resume for LEDs.

Setting the LED_CORE_SUSPENDRESUME flag causes the LED driver core to call
led_classdev_suspend/led_classdev_resume during suspend/resume. Since this is
exactly what the driver's custom suspend/resume callbacks do we can replace them
by setting the LED_CORE_SUSPENDRESUME flag.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
arch/mips/mti-sead3/leds-sead3.c