thermal: gov_step_wise: Fold update_passive_instance() into its caller
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 Oct 2023 18:33:28 +0000 (20:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 20 Oct 2023 17:26:37 +0000 (19:26 +0200)
commitfdcf70ed4e1606cd5a5a48f666583053ae4c3978
treef3d2beeba9dbfbc399caa379ff843a0b8fd1ddcc
parent94be1d27aa8d6f0a9e09517445abf468de24fab3
thermal: gov_step_wise: Fold update_passive_instance() into its caller

Fold update_passive_instance() into thermal_zone_trip_update() that is
its only caller so as to make the code in question easier to follow.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
drivers/thermal/gov_step_wise.c