commit | 74c850394394efc0905c22ab9686e8d20e3921eb | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:45 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:00:55 2014 -0700 |
tree | 53fdcc6e27c3ff5c459df368608cce191472030c | |
parent | d0d480cce8f522b37c2c1de38230fc9ad15fa506 [diff] |
leds: lm3550: 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>