diff options
author | Johan Hovold <johan@kernel.org> | 2014-06-25 19:08:56 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-06-27 22:44:05 +0200 |
commit | 44a1255b03aeedb56cbe7cf27461458bd4513049 (patch) | |
tree | 2203921e8ef397ac30e509be9808a762876318ff /drivers/leds/led-class.c | |
parent | leds: lp55xx-common: fix sysfs entry leak (diff) | |
download | linux-44a1255b03aeedb56cbe7cf27461458bd4513049.tar.xz linux-44a1255b03aeedb56cbe7cf27461458bd4513049.zip |
leds: lp55xx-common: fix attribute-creation race
Use the attribute groups of the led-class to create the LED 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 'drivers/leds/led-class.c')
0 files changed, 0 insertions, 0 deletions