]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Rearrange PM notification code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 4 Oct 2024 19:09:23 +0000 (21:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Oct 2024 10:06:45 +0000 (12:06 +0200)
commit7ddca5885718c2683d75689aa065c9a3bb317e5a
treebc4067ebef8e29abcb2743084f69dd95cd68d8bc
parent662f920f7e390db5d1a6792a2b0ffa59b6c962fc
thermal: core: Rearrange PM notification code

Move the code run for each thermal zone by the thermal PM notify
handler to separate functions.

This will help to make some subsequent changes look somewhat more
straightforward, among other things.

No intentional functional impact.

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