commit | 9db9386016c6cfc6a6af3bacc7043cab8ff04ecf | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:46 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:02:31 2014 -0700 |
tree | 77f0ca4c8fdd65069d4fb48ed26aeae4f7ea344d | |
parent | 74c850394394efc0905c22ab9686e8d20e3921eb [diff] |
leds: lm3533: fix attribute-creation race Use the attribute groups of the led-class to create the 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>