summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 10:08:54 -0700
committerBryan Wu <cooloney@gmail.com>2014-06-27 13:43:45 -0700
commitf254bea49d05ee80b09d577947bd3b937e3a304a (patch)
tree1f7cd7ba3bd5d646811e2b826be4e6f65d2a23ac /drivers/leds
parentb2015ed5eae165372b6762b2d967829ba0254956 (diff)
downloadlinux-f254bea49d05ee80b09d577947bd3b937e3a304a.tar.bz2
input: lm8323: fix attribute-creation race
Use the attribute groups of the led-class to create the time attribute during probe in order to avoid racing with userspace. Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions