leds: lp55xx: enable setting default trigger
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 15 Sep 2013 10:50:17 +0000 (03:50 -0700)
committerBryan Wu <cooloney@gmail.com>
Tue, 22 Oct 2013 17:57:34 +0000 (10:57 -0700)
commitf65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00
tree852d6c106ac0a7b0458dff11a798f053f07f8090
parent2491c5c8c99dfcf2519ca73798be60f874a2b16e
leds: lp55xx: enable setting default trigger

This enables setting a default trigger on an LP55xx channel,
either from platform data or device tree. This mechanism is
identical to the mechanism for GPIO LEDs and references the
common LEDs device tree bindings.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Milo Kim <milo.kim@ti.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Documentation/devicetree/bindings/leds/leds-lp55xx.txt
drivers/leds/leds-lp55xx-common.c
include/linux/platform_data/leds-lp55xx.h