commit | 588a6a99286ae30afb1339d8bc2163517b1b7dd1 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:50 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:27:37 2014 -0700 |
tree | db8477424fcb782db0fdbe4705faa5a109ad0639 | |
parent | 35c164998eede9e3d49f51541fcf2e639670fe72 [diff] |
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: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>