RE: [PATCH v2] thermal/core: Make cooling device state change private

2021-01-18 Thread Zhang, Rui
list:PWM FAN DRIVER hw...@vger.kernel.org>; open list ; open > list:KHADAS MCU MFD DRIVER ; open > list:THERMAL > Subject: [PATCH v2] thermal/core: Make cooling device state change private > Importance: High > > The change of the cooling device state should be used b

[PATCH v2] thermal/core: Make cooling device state change private

2021-01-18 Thread Daniel Lezcano
The change of the cooling device state should be used by the governor or at least by the core code, not by the drivers themselves. Remove the API usage and move the function declaration to the internal headers. Signed-off-by: Daniel Lezcano Acked-by: Guenter Roeck --- drivers/hwmon/pwm-fan.c