thermal: core: Drop unused .get_trip_*() callbacks
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Aug 2023 18:46:31 +0000 (20:46 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Aug 2023 18:46:31 +0000 (20:46 +0200)
commit35d8dbbb25add265a880ab0dc48a229f06b08325
tree9c7a22442312679604632544503a8f3dd0d460a6
parent9580dfb8ba53d8292e0cd59f3c40055df8b9a94f
thermal: core: Drop unused .get_trip_*() callbacks

After recent changes in the ACPI thermal driver and in the Intel DTS
IOSF thermal driver, all thermal zone drivers are expected to use trip
tables for initialization and none of them should implement
.get_trip_type(), .get_trip_temp() or .get_trip_hyst() callbacks, so
drop these callbacks entirely from the core.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c
drivers/thermal/thermal_trip.c
include/linux/thermal.h