]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds-lp55xx: support device specific attributes
authorMilo(Woogyom) Kim <milo.kim@ti.com>
Tue, 5 Feb 2013 10:20:01 +0000 (19:20 +0900)
committerBryan Wu <cooloney@gmail.com>
Wed, 6 Feb 2013 23:59:29 +0000 (15:59 -0800)
commit240085e255cd2818aff2ccde3066b7db1f29076a
tree1b5356694924c111c7f96d1b1bf806789a92cf42
parentdb6eaf8388a413a5ee1b4547ce78506b9c6456b0
leds-lp55xx: support device specific attributes

 To support device specific attributes, new common driver function is added.
 Eventually those are created on registering the sysfs with common dev attrs.
 Furthermore, this patch makes adding device attributes simple in each driver.

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