diff options
author | Milo Kim <milo.kim@ti.com> | 2013-08-08 12:46:43 +0900 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-08-26 17:22:12 -0700 |
commit | 36030978f51b596c30188187ffcc8a436cce16f0 (patch) | |
tree | 595dee4978abbd561405d48a16abcc77e3355460 /drivers/leds/leds-lp8788.c | |
parent | 6841a91dc5cfcb02b99413fa4199d9a8ce5ae770 (diff) | |
download | blackbird-op-linux-36030978f51b596c30188187ffcc8a436cce16f0.tar.gz blackbird-op-linux-36030978f51b596c30188187ffcc8a436cce16f0.zip |
leds: lp55xx: add common macros for device attributes
This patch provides common macros for LP5521 and LP5523 device attributes and
functions.
(Device attributes)
LP5521: 'mode', 'load' and 'selftest'
LP5523: 'mode', 'load', 'leds' and 'selftest'
(Permissions)
mode: R/W
load: Write-only
leds: R/W
selftest: Read-only
Couple of lines are duplicate, so use these macros for adding device attributes
in LP5521 and LP5523 drivers.
Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp8788.c')
0 files changed, 0 insertions, 0 deletions