leds-lp55xx: fix problem on removing LED attributes
authorMilo(Woogyom) Kim <milo.kim@ti.com>
Tue, 5 Feb 2013 10:28:44 +0000 (19:28 +0900)
committerBryan Wu <cooloney@gmail.com>
Wed, 6 Feb 2013 23:59:30 +0000 (15:59 -0800)
commit109b833071b44a4a6f5dc56385025543ed15a500
tree295f32ace83d73a7d58c72668097650270f84758
parenta2387cb9f6974fede9bf2d731a78ca158acb5424
leds-lp55xx: fix problem on removing LED attributes

 LP55XX common device attributes, 'led_current' and 'max_current' are created
 while loading the driver.
 Those are LED device attributes which are removed automatically on releasing
 led class devices - led_classdev_unregister().
 Therefore, this duplicate code should be removed.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lp55xx-common.c