Re: [PATCH 1/2] thermal: core: Make thermal_zone_set_trips private

From: Lukasz Luba
Date: Wed Apr 01 2020 - 03:39:37 EST




On 3/31/20 5:54 PM, Daniel Lezcano wrote:
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@xxxxxxxxxx>
---
drivers/thermal/thermal_core.h | 3 +++
drivers/thermal/thermal_helpers.c | 13 ++++++++++++-
include/linux/thermal.h | 3 ---
3 files changed, 15 insertions(+), 4 deletions(-)


Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>

Regards,
Lukasz