diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-09-15 03:50:17 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 10:57:34 -0700 |
commit | f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00 (patch) | |
tree | 852d6c106ac0a7b0458dff11a798f053f07f8090 /include | |
parent | 2491c5c8c99dfcf2519ca73798be60f874a2b16e (diff) | |
download | linux-stable-f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00.tar.gz linux-stable-f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00.tar.bz2 linux-stable-f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/leds-lp55xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/leds-lp55xx.h b/include/linux/platform_data/leds-lp55xx.h index 51a2ff579d60..c32de4dcec54 100644 --- a/include/linux/platform_data/leds-lp55xx.h +++ b/include/linux/platform_data/leds-lp55xx.h @@ -22,6 +22,7 @@ struct lp55xx_led_config { const char *name; + const char *default_trigger; u8 chan_nr; u8 led_current; /* mA x10, 0 if led is not connected */ u8 max_current; |