diff options
author | Daniel Lezcano <[email protected]> | 2022-10-14 09:32:50 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-01-06 14:14:48 +0100 |
commit | 3d2f20ad46f83b333025f5e8e4afc34be8f13c4c (patch) | |
tree | f98ddd6d54fbd8054fdfe3a918cb2f0c060f8aae /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 5f28ecc1e909b2c3ab6ba4e9ba57c0f8dc66c30f (diff) |
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 <[email protected]>
Acked-by: Kalle Valo <[email protected]>
Acked-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions