diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-01-18 18:38:24 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-01-19 22:31:10 +0100 |
commit | 23ff8529ee207c634ce2e170c353938db7aa98a9 (patch) | |
tree | 78216de32664757524428a271e68e009aef0a118 /drivers/thermal/khadas_mcu_fan.c | |
parent | 03671968d0bf2db598f7e3aa98f190b76c1bb4ff (diff) | |
download | linux-23ff8529ee207c634ce2e170c353938db7aa98a9.tar.gz linux-23ff8529ee207c634ce2e170c353938db7aa98a9.tar.bz2 linux-23ff8529ee207c634ce2e170c353938db7aa98a9.zip |
thermal/core: Make cooling device state change private
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 <daniel.lezcano@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20210118173824.9970-1-daniel.lezcano@linaro.org
Diffstat (limited to 'drivers/thermal/khadas_mcu_fan.c')
-rw-r--r-- | drivers/thermal/khadas_mcu_fan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/khadas_mcu_fan.c b/drivers/thermal/khadas_mcu_fan.c index 9eadd2d6413e..d35e5313bea4 100644 --- a/drivers/thermal/khadas_mcu_fan.c +++ b/drivers/thermal/khadas_mcu_fan.c @@ -100,7 +100,6 @@ static int khadas_mcu_fan_probe(struct platform_device *pdev) return ret; } ctx->cdev = cdev; - thermal_cdev_update(cdev); return 0; } |