thermal/of: Unexport unused OF functions
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 4 Apr 2023 07:51:36 +0000 (09:51 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 7 Apr 2023 16:36:28 +0000 (18:36 +0200)
commitac614a9b4c35bf766dec40d73cbbc7f37c1734f7
tree7928756e0a35784346dcd1fc3282af96013401fa
parent8454c8c09c7768fd86cda61f1a07b9c746050c80
thermal/of: Unexport unused OF functions

The functions thermal_of_zone_register() and
thermal_of_zone_unregister() are no longer needed from the drivers as
the devm_ variant is always used.

Make them static in the C file and remove their declaration from thermal.h

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230404075138.2914680-2-daniel.lezcano@linaro.org
drivers/thermal/thermal_of.c
include/linux/thermal.h