summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-u5500.c
diff options
context:
space:
mode:
authorShreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>2011-05-23 21:14:11 +0530
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:10:38 +0000
commitac2fd616445b077a9a34e7a14bdf0651e8e0a736 (patch)
treef3b84ce76511db7637349b12a9422da312b3ce27 /arch/arm/mach-ux500/board-u5500.c
parentfe0298a0a00881ab9fe197cd23a8c672ec499eb3 (diff)
u5500: leds: generic/compatible name for rgb leds
This patch renames rgb leds names in sysfs by generic names i.e. red, green and blue instead of ab5500-leds:red, ab5500-leds:green and ab5500-leds:blue respectively. ST-Ericsson ID: WP 257105 Change-Id: I457ef30bd14cd08ffb0015038c46cc0211b8844f Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23670 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-u5500.c')
-rw-r--r--arch/arm/mach-ux500/board-u5500.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/board-u5500.c b/arch/arm/mach-ux500/board-u5500.c
index 69e4f651f69..2c370c0a2ef 100644
--- a/arch/arm/mach-ux500/board-u5500.c
+++ b/arch/arm/mach-ux500/board-u5500.c
@@ -98,19 +98,19 @@ static struct ab5500_hvleds_platform_data ab5500_hvleds_data = {
.hw_blink = false,
.leds = {
[0] = {
- .name = "ab5500-hvled:channel-0:",
+ .name = "red",
.led_id = 0,
.status = AB5500_LED_ON,
.max_current = 10, /* wrong value may damage h/w */
},
[1] = {
- .name = "ab5500-hvled:channel-1:",
+ .name = "green",
.led_id = 1,
.status = AB5500_LED_ON,
.max_current = 10, /* wrong value may damage h/w */
},
[2] {
- .name = "ab5500-hvled:channel-2:",
+ .name = "blue",
.led_id = 2,
.status = AB5500_LED_ON,
.max_current = 10, /* wrong value may damage h/w */