thermal: trip: Split thermal_zone_device_set_mode()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jul 2024 19:00:35 +0000 (21:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2024 12:18:15 +0000 (14:18 +0200)
commite5f98896efb3b6350cb6f1c241394966dcbcf240
treef906bcf42d2dd17f40d2b904fd31dde1ae97540f
parent539fbb912321ab6361ccc08b72f5f83e8a25c24b
thermal: trip: Split thermal_zone_device_set_mode()

Pull a wrapper around thermal zone .change_mode() callback out of
thermal_zone_device_set_mode() because it will be used elsewhere
subsequently.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2206793.irdbgypaU6@rjwysocki.net
drivers/thermal/thermal_core.c