]> git.baikalelectronics.ru Git - kernel.git/commit
leds: add led-class attribute-group support
authorJohan Hovold <johan@kernel.org>
Wed, 25 Jun 2014 17:08:44 +0000 (10:08 -0700)
committerBryan Wu <cooloney@gmail.com>
Wed, 25 Jun 2014 21:55:03 +0000 (14:55 -0700)
commit8f8a6c687e1b057413cc09a9cc18954fa77e705f
treec02d866399ddfe0e4c4d3c09ec1cb26343b9d925
parenta0d800ddb2172f2da92426d4d78913597ff42e77
leds: add led-class attribute-group support

Allow led-class devices to be created with optional attribute groups.

This is needed in order to allow led drivers to create custom device
attributes in a race-free manner.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/led-class.c
include/linux/leds.h