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

leds: netxbig: fix attribute-creation race



Use the attribute groups of the led-class to create the sata attribute
during probe in order to avoid racing with userspace.

[cooloney@gmail.com: clean up return led_classdev_register()]

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