diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 01:09:18 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-23 12:56:33 +0300 |
commit | 6f60ae72214bd57b2576c749aca5305eca158dc3 (patch) | |
tree | bfc5006726c4a290e8223ce05b8b1b66c9d41f50 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 57f076664c4debb2fff57e42098698f1993826f4 (diff) | |
download | linux-6f60ae72214bd57b2576c749aca5305eca158dc3.tar.xz |
thermal: core: Separate code running under thermal_list_lock
To prepare for a subsequent change that will switch over the thermal
core to using a mutex guard for thermal_list_lock management, move the
code running under thermal_list_lock during the initialization and
unregistration of cooling devices into separate functions.
While at it, drop some comments that do not add value.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/10572828.nUPlyArG6x@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