diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-10-14 10:32:51 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2023-01-06 16:14:48 +0300 |
commit | 44a29a4dab73411671e0b84817a5f07e291b1501 (patch) | |
tree | dcb6106cb2a065d71735d2b5c93de84cca25c04c /include/linux/thermal.h | |
parent | 3d2f20ad46f83b333025f5e8e4afc34be8f13c4c (diff) | |
download | linux-44a29a4dab73411671e0b84817a5f07e291b1501.tar.xz |
thermal/drivers/mellanox: 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.
Convert ops content logic into generic trip points and register them with the
thermal zone.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20221014073253.3719911-2-daniel.lezcano@linaro.org
Diffstat (limited to 'include/linux/thermal.h')
0 files changed, 0 insertions, 0 deletions