summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm3533.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 19:08:45 +0200
committerBryan Wu <cooloney@gmail.com>2014-06-26 00:00:55 +0200
commit74c850394394efc0905c22ab9686e8d20e3921eb (patch)
tree53fdcc6e27c3ff5c459df368608cce191472030c /drivers/leds/leds-lm3533.c
parentleds: add led-class attribute-group support (diff)
downloadlinux-74c850394394efc0905c22ab9686e8d20e3921eb.tar.xz
linux-74c850394394efc0905c22ab9686e8d20e3921eb.zip
leds: lm3550: fix attribute-creation race
Use the attribute groups of the led-class to create the mode attribute 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-lm3533.c')
0 files changed, 0 insertions, 0 deletions