OSDN Git Service

thermal/of: Remove of_thermal_set_trip_hyst()
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 3 Oct 2022 09:25:51 +0000 (11:25 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Fri, 6 Jan 2023 13:14:47 +0000 (14:14 +0100)
commit810245133eaec213517bad835e394cbf4fb2d6cd
tree76b3eb49f2a8679399ab994b680a161b3aca66fd
parentf9061f4e15c5e1f322f7765a7b054bafd4d0bc59
thermal/of: Remove of_thermal_set_trip_hyst()

The thermal core is providing the generic thermal_zone_set_trip()
function which does exactly what the OF ops function is doing.

It is pointless to define our own version, just remove the ops and the
thermal_zone_set_trip() will take care of it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20221003092602.1323944-19-daniel.lezcano@linaro.org
drivers/thermal/thermal_of.c