summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-10 19:44:14 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-24 11:14:58 +0300
commitfe036266504796c84adee28b64c347d3acf4206e (patch)
tree77805fe1765b540993b8bc3f3f1c7bf4121de7c6 /lib/mpi/mpi-sub-ui.c
parente4065f144fa60df56a8596bdc364a5b4fe8cbf40 (diff)
downloadlinux-fe036266504796c84adee28b64c347d3acf4206e.tar.xz
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions