summaryrefslogtreecommitdiff
path: root/net/ethtool/fec.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-10 22:17:36 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-11 19:44:45 +0300
commit4effd28e61e768bcc2017c58cd23bd0846649ac4 (patch)
tree274dd31ae03146a7754fa3729918ce74e9a541ae /net/ethtool/fec.c
parent02a49aaceff4a229d775b82ccaaafe59fe16b8f5 (diff)
downloadlinux-4effd28e61e768bcc2017c58cd23bd0846649ac4.tar.xz
thermal: intel: intel_soc_dts_iosf: Use struct thermal_trip
Because the number of trip points in each thermal zone and their types are known to intel_soc_dts_iosf_init() prior to the registration of the thermal zones, make it create an array of struct thermal_trip entries in each struct intel_soc_dts_sensor_entry object and make add_dts_thermal_zone() use thermal_zone_device_register_with_trips() for thermal zone registration and pass that array as its second argument. Drop the sys_get_trip_temp() and sys_get_trip_type() callback functions along with the respective callback pointers in tzone_ops, because they are not necessary any more. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'net/ethtool/fec.c')
0 files changed, 0 insertions, 0 deletions