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)
commitf4d1f2bed6fb7df12f8a99ccf16d537472a3d246
tree35cdb9746d3f382a24841801da51cd3a01a7a35b
parentb6d92b4a6bdb880b39789c677b952c53a437028d
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