commit | 2dc10f8963e6a03a1a75deafe1d1984bafab08dd | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <mka@chromium.org> | Fri Feb 20 18:10:08 2015 -0800 |
committer | Eduardo Valentin <edubezval@gmail.com> | Thu Mar 05 01:47:57 2015 -0400 |
tree | 36c23fa93ef3062dac39b2ebc76cd39ccc324cf6 | |
parent | d5bce867778c8cb5ff655efe47fecb4b31f30406 [diff] |
thermal: Make sysfs attributes of cooling devices default attributes Default attributes are created when the device is registered. Attributes created after device registration can lead to race conditions, where user space (e.g. udev) sees the device but not the attributes. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>