diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-04 22:05:49 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-22 13:06:06 +0300 |
commit | 662f920f7e390db5d1a6792a2b0ffa59b6c962fc (patch) | |
tree | f4afb5373db366c362c1a8b73626084c67c77371 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 85ee9449f76430846132b0248a99a6cfb524f992 (diff) | |
download | linux-662f920f7e390db5d1a6792a2b0ffa59b6c962fc.tar.xz |
thermal: core: Initialize thermal zones before registering them
Since user space can start interacting with a new thermal zone as soon
as device_register() called by thermal_zone_device_register_with_trips()
returns, it is better to initialize the thermal zone before calling
device_register() on it.
Fixes: d0df264fbd3c ("thermal/core: Remove pointless thermal_zone_device_reset() function")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3336146.44csPzL39Z@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions