]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Relocate thermal zone initialization routine
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2024 11:36:03 +0000 (13:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Oct 2024 15:15:07 +0000 (17:15 +0200)
commit43bac1026fdc0251e03e387fc347f84363e3780f
treea98bc121399b4661ababc85974b9dc0f55d2a267
parent6d5537d40ce4b95c0de5d957fc0eb51fd9b6c06f
thermal: core: Relocate thermal zone initialization routine

Move thermal_zone_device_init() along with thermal_zone_device_check()
closer to the callers of the former, where they fit better together.

No 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/1906685.CQOukoFCf9@rjwysocki.net
drivers/thermal/thermal_core.c