Milo Kim 36030978f5 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>
2013-08-26 17:22:12 -07:00
..
2013-08-20 08:38:23 -04:00
2013-06-27 13:42:16 -04:00
2013-07-02 14:23:01 -07:00
2013-08-08 09:28:08 -07:00
2013-07-23 16:01:28 -07:00
2013-07-10 14:46:40 -07:00
2013-07-26 11:36:12 -07:00
2013-07-02 11:44:19 -07:00
2013-08-07 21:57:17 +02:00
2013-06-28 13:01:40 +02:00
2013-07-22 09:34:46 +08:00
2013-08-23 10:41:46 -07:00
2013-07-24 16:36:41 -06:00
2013-07-23 14:38:20 -07:00
2013-08-09 11:52:34 -07:00
2013-07-10 14:50:58 -07:00
2013-08-21 16:38:33 -07:00