thermal/core: Remove THERMAL_TRIPS_NONE test
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 14 Dec 2020 23:38:08 +0000 (00:38 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 19 Jan 2021 21:23:25 +0000 (22:23 +0100)
commit716072d065b62f5a63d81bee978fd234dc47a83b
tree23ac2e3828a71e4bffa09b3a405b56683f1a34d2
parent43bb4a9d658398151ad1b77340003ff81f4b8650
thermal/core: Remove THERMAL_TRIPS_NONE test

The last site calling the thermal_zone_bind_cooling_device() function
with the THERMAL_TRIPS_NONE parameter was removed.

We can get rid of this test as no user of this function is calling
this function with this parameter.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org>
Link: https://lore.kernel.org/r/20201214233811.485669-5-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.c