summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-29 20:46:31 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-29 20:46:31 +0200
commit35d8dbbb25add265a880ab0dc48a229f06b08325 (patch)
tree9c7a22442312679604632544503a8f3dd0d460a6 /include/linux
parent9580dfb8ba53d8292e0cd59f3c40055df8b9a94f (diff)
downloadlinux-35d8dbbb25add265a880ab0dc48a229f06b08325.tar.gz
linux-35d8dbbb25add265a880ab0dc48a229f06b08325.tar.bz2
linux-35d8dbbb25add265a880ab0dc48a229f06b08325.zip
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/thermal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index b449a46766f5..e6bd3b7c9eda 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -62,11 +62,7 @@ struct thermal_zone_device_ops {
int (*set_trips) (struct thermal_zone_device *, int, int);
int (*change_mode) (struct thermal_zone_device *,
enum thermal_device_mode);
- int (*get_trip_type) (struct thermal_zone_device *, int,
- enum thermal_trip_type *);
- int (*get_trip_temp) (struct thermal_zone_device *, int, int *);
int (*set_trip_temp) (struct thermal_zone_device *, int, int);
- int (*get_trip_hyst) (struct thermal_zone_device *, int, int *);
int (*set_trip_hyst) (struct thermal_zone_device *, int, int);
int (*get_crit_temp) (struct thermal_zone_device *, int *);
int (*set_emul_temp) (struct thermal_zone_device *, int);