]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal: core: Pass trip descriptor to thermal_trip_crossed()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2024 11:27:56 +0000 (13:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Oct 2024 15:15:06 +0000 (17:15 +0200)
commitdb0a46b60033a60d54e6a5b1e760aeda01bb116c
tree21db62bfc3a39cdc7be64b5cdfc0e05d8957d4b5
parente254ec292f55fd76a554b1b2be267a02691d1042
thermal: core: Pass trip descriptor to thermal_trip_crossed()

In preparation for subsequent changes, modify thermal_trip_crossed()
to take a trip descriptor pointer instead of a pointer to struct
thermal_trip and propagate this change to 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/10547668.nUPlyArG6x@rjwysocki.net
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h
drivers/thermal/thermal_trip.c