diff options
author | Johan Hovold <johan@kernel.org> | 2014-06-25 19:08:49 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-06-26 00:24:03 +0200 |
commit | 35c164998eede9e3d49f51541fcf2e639670fe72 (patch) | |
tree | ae03d1ebc5c9f557f6f30411d8dc55d9fdf4e9ac /drivers/mfd/arizona-i2c.c | |
parent | leds: lm3642: fix attribute-creation race (diff) | |
download | linux-35c164998eede9e3d49f51541fcf2e639670fe72.tar.xz linux-35c164998eede9e3d49f51541fcf2e639670fe72.zip |
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>
Diffstat (limited to 'drivers/mfd/arizona-i2c.c')
0 files changed, 0 insertions, 0 deletions