thermal: core: Make thermal_zone_set_trips private
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 31 Mar 2020 16:54:48 +0000 (18:54 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commitbceb5646a15dad49ceb29ec16b8acc10075d0627
treebae77696e1c7857fb0b151d2cf5b7d6d90dfad85
parentd2bc4dd91da6095a769fdc9bc519d3be7ad5f97a
thermal: core: Make thermal_zone_set_trips private

The function thermal_zone_set_trips() is used by the thermal core code
in order to update the next trip points, there are no other users.

Move the function definition in the thermal_core.h, remove the
EXPORT_SYMBOL_GPL and document the function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/20200331165449.30355-1-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.h
drivers/thermal/thermal_helpers.c
include/linux/thermal.h