aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-netxbig.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 10:08:49 -0700
committerBryan Wu <cooloney@gmail.com>2014-06-25 15:24:03 -0700
commit35c164998eede9e3d49f51541fcf2e639670fe72 (patch)
treeae03d1ebc5c9f557f6f30411d8dc55d9fdf4e9ac /drivers/leds/leds-netxbig.c
parentleds: lm3642: fix attribute-creation race (diff)
downloadlinux-dev-35c164998eede9e3d49f51541fcf2e639670fe72.tar.xz
linux-dev-35c164998eede9e3d49f51541fcf2e639670fe72.zip
leds: max8997: 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-netxbig.c')
0 files changed, 0 insertions, 0 deletions