mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
[ Upstream commit44a29a4dab] 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 Stable-dep-of:6d206b1ea9("mlxsw: core_thermal: Fix fan speed in maximum cooling state") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0e60f30e65
commit
a71f388045
1 changed files with 48 additions and 161 deletions
Loading…
Add table
Add a link
Reference in a new issue