Searched hist:"36030978 f51b596c30188187ffcc8a436cce16f0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-lp55xx-common.h | diff 36030978f51b596c30188187ffcc8a436cce16f0 Wed Aug 07 22:46:43 CDT 2013 Milo Kim <milo.kim@ti.com> 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>
|