commit | b2015ed5eae165372b6762b2d967829ba0254956 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Jun 25 10:08:53 2014 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Jun 25 15:35:11 2014 -0700 |
tree | 3bc16c4b40f6fa41c15b6756918c262d1af227c6 | |
parent | 67bd8eb07eb873fe0b189ee2a9a9ca67f9023270 [diff] |
leds: wm831x-status: fix attribute-creation race Use the attribute groups of the led-class to create the src 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>