summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp55xx-common.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-06-25 21:08:54 +0400
committerBryan Wu <cooloney@gmail.com>2014-06-28 00:43:45 +0400
commitf254bea49d05ee80b09d577947bd3b937e3a304a (patch)
tree1f7cd7ba3bd5d646811e2b826be4e6f65d2a23ac /drivers/leds/leds-lp55xx-common.c
parentb2015ed5eae165372b6762b2d967829ba0254956 (diff)
downloadlinux-f254bea49d05ee80b09d577947bd3b937e3a304a.tar.xz
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/leds-lp55xx-common.c')
0 files changed, 0 insertions, 0 deletions