commit | fe29a3b0bb375aeac1c995904369553e62d03d75 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:48 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:13:08 2014 -0700 |
tree | 649df91fd2a99bfe3a970cbdeb5ac930dc4dabb4 | |
parent | 0d25376c326220687a2dccb5c40b785a7499326c [diff] |
leds: lm3642: fix attribute-creation race Use the attribute groups of the led-class to create the flash and torch-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>