]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Eliminate thermal_zone_trip_down()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2024 11:33:43 +0000 (13:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Oct 2024 15:15:07 +0000 (17:15 +0200)
commita44b5e39e41e0021925cd772d164de6ef9732f93
treead8a9b66747f50c964bf845ee30c1bd20ab4ec4b
parente654a0c58d828eae9b4d704972e0050871a61c07
thermal: core: Eliminate thermal_zone_trip_down()

Since thermal_zone_set_trip_temp() is now located in the same file
as thermal_trip_crossed(), it can invoke the latter directly without
using the thermal_zone_trip_down() wrapper that has no other users.

Update thermal_zone_set_trip_temp() accordingly and drop
thermal_zone_trip_down().

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/1807510.VLH7GnMWUR@rjwysocki.net
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h