thermal/drivers/of-thermal: Make of_thermal_destroy_zones static
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 Dec 2019 22:21:52 +0000 (23:21 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 09:24:32 +0000 (10:24 +0100)
commit8c24b85d2dd479558dc7a53be3f598007ec1a489
treebfe81111dfdda99bd2d7d8048201c0c9d6c1304c
parent23affa2e29c5faa8cb59778f71e3bce2c8b3aa5c
thermal/drivers/of-thermal: Make of_thermal_destroy_zones static

The function of_thermal_destroy_zones() is only used internally by the
of_parse_thermal_zones() for rollbacking in case of error.

Make it static and tag it as an __init function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191219222154.16100-1-daniel.lezcano@linaro.org
drivers/thermal/of-thermal.c
drivers/thermal/thermal_core.h