diff options
| author | 2024-04-10 18:44:14 +0200 | |
|---|---|---|
| committer | 2024-04-24 10:14:58 +0200 | |
| commit | fe036266504796c84adee28b64c347d3acf4206e (patch) | |
| tree | 77805fe1765b540993b8bc3f3f1c7bf4121de7c6 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | thermal: gov_step_wise: Use trip thresholds instead of trip temperatures (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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
