diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-10-14 10:32:50 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2023-01-06 16:14:48 +0300 |
commit | 3d2f20ad46f83b333025f5e8e4afc34be8f13c4c (patch) | |
tree | f98ddd6d54fbd8054fdfe3a918cb2f0c060f8aae /tools/perf/scripts/python | |
parent | 5f28ecc1e909b2c3ab6ba4e9ba57c0f8dc66c30f (diff) | |
download | linux-3d2f20ad46f83b333025f5e8e4afc34be8f13c4c.tar.xz |
wifi: iwlwifi: Use generic thermal_zone_get_trip() function
The thermal framework gives the possibility to register the trip
points with the thermal zone. When that is done, no get_trip_* ops are
needed and they can be removed.
The get_trip_temp, get_trip_hyst and get_trip_type are handled by the
get_trip_point().
The set_trip_temp() generic function does some checks which are no
longer needed in the set_trip_point() ops.
Convert ops content logic into generic trip points and register them
with the thermal zone.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Kalle Valo <kvalo@kernel.org>
Acked-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221014073253.3719911-1-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions