summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ss4200.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 10:08:51 -0700
committerBryan Wu <cooloney@gmail.com>2014-06-25 15:32:11 -0700
commit475f85482663985550e589496bc3c1e09521838a (patch)
treeab5967b79cc723ec2482531f5e621fa3c0f86a2e /drivers/leds/leds-ss4200.c
parent588a6a99286ae30afb1339d8bc2163517b1b7dd1 (diff)
downloadlinux-stable-475f85482663985550e589496bc3c1e09521838a.tar.gz
linux-stable-475f85482663985550e589496bc3c1e09521838a.tar.bz2
linux-stable-475f85482663985550e589496bc3c1e09521838a.zip
leds: ns2: 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. 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