diff options
author | Johan Hovold <johan@kernel.org> | 2014-06-25 10:08:46 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-06-25 15:02:31 -0700 |
commit | 9db9386016c6cfc6a6af3bacc7043cab8ff04ecf (patch) | |
tree | 77f0ca4c8fdd65069d4fb48ed26aeae4f7ea344d /drivers/ptp/ptp_sysfs.c | |
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>
Diffstat (limited to 'drivers/ptp/ptp_sysfs.c')
0 files changed, 0 insertions, 0 deletions