summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pwm.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 19:08:48 +0200
committerBryan Wu <cooloney@gmail.com>2014-06-26 00:13:08 +0200
commitfe29a3b0bb375aeac1c995904369553e62d03d75 (patch)
tree649df91fd2a99bfe3a970cbdeb5ac930dc4dabb4 /drivers/leds/leds-pwm.c
parentleds: lm355x: fix attribute-creation race (diff)
downloadlinux-fe29a3b0bb375aeac1c995904369553e62d03d75.tar.xz
linux-fe29a3b0bb375aeac1c995904369553e62d03d75.zip
leds: lm3642: fix attribute-creation race
Use the attribute groups of the led-class to create the flash and torch-LED attributes during probe in order to avoid racing with userspace. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-pwm.c')
0 files changed, 0 insertions, 0 deletions