diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-22 22:34:12 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-03 21:40:21 +0300 |
commit | cd246fa969ec9f31a244f4056361c694ca8d99d3 (patch) | |
tree | 8330313458dd13d5e240ec26608a14e91edcf373 /drivers/thermal/ti-soc-thermal | |
parent | 0c7d069297a098af05f9ecc130c4d6f1973bfed7 (diff) | |
download | linux-cd246fa969ec9f31a244f4056361c694ca8d99d3.tar.xz |
thermal: core: Clean up thermal_list_lock locking
Once thermal_list_lock has been acquired in
__thermal_cooling_device_register(), it is not necessary to drop it
and take it again until all of the thermal zones have been updated,
so change the code accordingly.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal')
0 files changed, 0 insertions, 0 deletions