commit | 35c164998eede9e3d49f51541fcf2e639670fe72 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:49 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:24:03 2014 -0700 |
tree | ae03d1ebc5c9f557f6f30411d8dc55d9fdf4e9ac | |
parent | fe29a3b0bb375aeac1c995904369553e62d03d75 [diff] |
leds: max8997: fix attribute-creation race Use the attribute groups of the led-class to create the mode attribute 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>