aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-02-22 18:32:03 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-02-27 12:04:01 +0100
commit46f5bef8ec2e1e05ad2fda0bcf5ac32e191ec694 (patch)
treeaec853ab76f9e206e3fac5ec743a9aca9869b00e /include/linux/thermal.h
parentthermal: core: Add flags to struct thermal_trip (diff)
downloadwireguard-linux-46f5bef8ec2e1e05ad2fda0bcf5ac32e191ec694.tar.xz
wireguard-linux-46f5bef8ec2e1e05ad2fda0bcf5ac32e191ec694.zip
thermal: core: Drop the .set_trip_hyst() thermal zone operation
None of the users of the thermal core provides a .set_trip_hyst() thermal zone operation, so drop that callback from struct thermal_zone_device_ops and update trip_point_hyst_store() accordingly. No functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r--include/linux/thermal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index 6eb6f3297ea0..eb4145a64c7e 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -91,7 +91,6 @@ struct thermal_zone_device_ops {
int (*change_mode) (struct thermal_zone_device *,
enum thermal_device_mode);
int (*set_trip_temp) (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);
int (*get_trend) (struct thermal_zone_device *,