]> git.baikalelectronics.ru Git - kernel.git/commit
leds: leds-gpio: add retain-state-suspended property
authorRobin Gong <b38343@freescale.com>
Mon, 20 Jan 2014 11:41:26 +0000 (03:41 -0800)
committerBryan Wu <cooloney@gmail.com>
Thu, 27 Feb 2014 17:56:56 +0000 (09:56 -0800)
commit4c0768cd67157167961d682e7d21b3fe63b7b0b0
tree95df7c93fbfc6d3e9e2dafc52767c490dc45df93
parent911eccd94cfd0b1fbad68413e99f5ce3d3dccc67
leds: leds-gpio: add retain-state-suspended property

Some gpio-leds need retain the state even in suspend, such as charger led.
But this property missed in devicetree, add it.

(cooloney@gmail.com: fold DT binding updates into this patch)

Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Documentation/devicetree/bindings/leds/leds-gpio.txt
drivers/leds/leds-gpio.c