thermal/drivers/exynos: Replace of_thermal_is_trip_valid() by thermal_zone_get_trip()
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 3 Oct 2022 09:25:42 +0000 (11:25 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Fri, 6 Jan 2023 13:14:47 +0000 (14:14 +0100)
commit03ef4855a825f9ba7195454f6498e0f056be995a
tree2f418985a5c5a9864643c5d4fc473f3ee4427383
parenta3b3dd381a0806cf19dab07a16f066e64d70a32d
thermal/drivers/exynos: Replace of_thermal_is_trip_valid() by thermal_zone_get_trip()

The thermal_zone_get_trip() does the same check as
of_thermal_is_trip_valid(). Replace the call to
of_thermal_is_trip_valid() by thermal_zone_get_trip().

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221003092602.1323944-10-daniel.lezcano@linaro.org
drivers/thermal/samsung/exynos_tmu.c