drivers/leds/leds-lp5521.c: add 'name' in the lp5521_led_config
authorKim, Milo <Milo.Kim@ti.com>
Fri, 23 Mar 2012 22:02:08 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:34 +0000 (16:58 -0700)
commit5ae4e8a77dc82afcfe8460168ec0b94f4b79a54a
tree563eb3978832bff9e989b9cc7aa12b3da3f2fa20
parentc5bd2a712a0c7299b61b0e02404b1376f794d251
drivers/leds/leds-lp5521.c: add 'name' in the lp5521_led_config

The name of each led channel can be configurable.  For the compatibility,
the name is set to default value(xx:channelN) when 'name' is not defined.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arun MURTHY <arun.murthy@stericsson.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/leds/leds-lp5521.txt
drivers/leds/leds-lp5521.c
include/linux/leds-lp5521.h