leds: Add suspend/resume state flags to leds-gpio
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 17 Feb 2009 15:04:07 +0000 (15:04 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Apr 2009 15:06:26 +0000 (16:06 +0100)
commitdefb512d2576992c63ba1c18c24eea31cfeaa26e
treeeb2ae7031d62073d452d55192167e66767e99faa
parent41c42ff5dbe29b7b826e6736f960959c76e7acf0
leds: Add suspend/resume state flags to leds-gpio

Add an option to preserve LED state when suspending/resuming to the LED
gpio driver. Based on a suggestion from Robert Jarzmik.

Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-gpio.c
include/linux/leds.h