commit | 44a1255b03aeedb56cbe7cf27461458bd4513049 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:56 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Fri Jun 27 13:44:05 2014 -0700 |
tree | 2203921e8ef397ac30e509be9808a762876318ff | |
parent | 660216bf82e0cd65603c0935193c1f7c4aca04fb [diff] |
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>