diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-05-28 16:59:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-06-11 21:04:34 +0200 |
commit | 8f9025baf66ff4781ae3d40f9bc457b0a022b1a3 (patch) | |
tree | 725e7bad4a565884712c6af98a69d4309faff80c /.rustfmt.toml | |
parent | 881c084fc980d05d05dceac4d789a473b42e177d (diff) |
thermal/debugfs: Move some statements from under thermal_dbg->lock
The tz_dbg local variable assignments in thermal_debug_tz_trip_up(),
thermal_debug_tz_trip_down(), and thermal_debug_update_trip_stats()
need not be carried out under thermal_dbg->lock, so move them from
under that lock (to avoid possible future confusion).
While at it, reorder local variable definitions in
thermal_debug_tz_trip_up() for more clarity.
No functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions