leds-lp5523: use the i2c device id rather than fixed name
authorKim, Milo <Milo.Kim@ti.com>
Tue, 4 Sep 2012 07:06:26 +0000 (15:06 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:42 +0000 (18:32 +0800)
commit56a1e9adc83870ae9ad9ff1bf9fd8bccebdfe065
tree28bb5962c31bc4436ca18d9146cffff3abde1ef9
parent27d7704e5ebf0bc0cba86508023dd484639a48de
leds-lp5523: use the i2c device id rather than fixed name

LP5523 driver supports both LP5523 and LP55231. The i2c device id
is one of the two - lp5523 or lp55231. So it's better to use
matching i2c device id while enumerating the device and naming LED
channels.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-lp5523.c