summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ss4200.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 10:08:50 -0700
committerBryan Wu <cooloney@gmail.com>2014-06-25 15:27:37 -0700
commit588a6a99286ae30afb1339d8bc2163517b1b7dd1 (patch)
treedb8477424fcb782db0fdbe4705faa5a109ad0639 /drivers/leds/leds-ss4200.c
parent35c164998eede9e3d49f51541fcf2e639670fe72 (diff)
downloadlinux-stable-588a6a99286ae30afb1339d8bc2163517b1b7dd1.tar.gz
linux-stable-588a6a99286ae30afb1339d8bc2163517b1b7dd1.tar.bz2
linux-stable-588a6a99286ae30afb1339d8bc2163517b1b7dd1.zip
leds: netxbig: fix attribute-creation race
Use the attribute groups of the led-class to create the sata attribute during probe in order to avoid racing with userspace. [cooloney@gmail.com: clean up return led_classdev_register()] Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-ss4200.c')
0 files changed, 0 insertions, 0 deletions