summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
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/rpmsg
parentfe29a3b0bb375aeac1c995904369553e62d03d75 (diff)
downloadlinux-stable-35c164998eede9e3d49f51541fcf2e639670fe72.tar.gz
linux-stable-35c164998eede9e3d49f51541fcf2e639670fe72.tar.bz2
linux-stable-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/rpmsg')
0 files changed, 0 insertions, 0 deletions