summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 21:08:46 +0400
committerBryan Wu <cooloney@gmail.com>2014-06-26 02:02:31 +0400
commit9db9386016c6cfc6a6af3bacc7043cab8ff04ecf (patch)
tree77f0ca4c8fdd65069d4fb48ed26aeae4f7ea344d /init
parent74c850394394efc0905c22ab9686e8d20e3921eb (diff)
downloadlinux-9db9386016c6cfc6a6af3bacc7043cab8ff04ecf.tar.xz
leds: lm3533: fix attribute-creation race
Use the attribute groups of the led-class to create the attributes 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 'init')
0 files changed, 0 insertions, 0 deletions