Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94f669e7 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Kevin Hilman
Browse files

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: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
(cherry picked from commit 2dc10f8963e6a03a1a75deafe1d1984bafab08dd)
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent 2b42b5a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment