diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-10 18:44:14 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-24 10:14:58 +0200 |
commit | fe036266504796c84adee28b64c347d3acf4206e (patch) | |
tree | 77805fe1765b540993b8bc3f3f1c7bf4121de7c6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e4065f144fa60df56a8596bdc364a5b4fe8cbf40 (diff) |
thermal: gov_step_wise: Clean up thermal_zone_trip_update()
Do some assorted cleanups in thermal_zone_trip_update():
* Compute the trend value upfront.
* Move old_target definition to the block where it is used.
* Adjust white space around diagnostic messages and locking.
* Use suitable field formatting in a message to avoid an explicit
cast to int.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions