diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 01:20:56 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-24 15:48:42 +0300 |
commit | af73d53e97ca5972e93ed481745d25741fa3af65 (patch) | |
tree | e714e3b6a23d23d16a2661e1b50e90a4cd2f93cf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a5a98a786e5e31e85a69d30935254e8730734706 (diff) | |
download | linux-af73d53e97ca5972e93ed481745d25741fa3af65.tar.xz |
thermal: core: Separate thermal zone governor initialization
In preparation for a subsequent change that will switch over the thermal
core to using a mutex guard for managing thermal_governor_lock, move
the code running in thermal_zone_device_register_with_trips() under that
lock into a separate function called thermal_zone_init_governor().
While at it, drop a useless comment.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/4408795.ejJDZkT8p0@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