Skip to content
Commit 9db93860 authored by Johan Hovold's avatar Johan Hovold Committed by Bryan Wu
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 74c85039
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment