]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Rearrange __thermal_zone_device_update()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2024 11:26:20 +0000 (13:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Oct 2024 15:15:06 +0000 (17:15 +0200)
commite254ec292f55fd76a554b1b2be267a02691d1042
tree3ddca19fe539e613b80fab90c424ec820e10d9d9
parentca70d55ab0aa4510618ebf6bc5f5da5dd33736d5
thermal: core: Rearrange __thermal_zone_device_update()

In preparation for subsequent changes, move the invocations of
thermal_thresholds_handle() and thermal_zone_set_trips() in
__thermal_zone_device_update() after the processing of the
temporary trip lists.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/3323276.44csPzL39Z@rjwysocki.net
drivers/thermal/thermal_core.c