Skip to content
Commit a71f3880 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Greg Kroah-Hartman
Browse files

thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function



[ Upstream commit 44a29a4d ]

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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarVadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20221014073253.3719911-2-daniel.lezcano@linaro.org


Stable-dep-of: 6d206b1e ("mlxsw: core_thermal: Fix fan speed in maximum cooling state")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0e60f30e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment