diff options
| author | Daniel Lezcano <[email protected]> | 2021-01-18 17:38:24 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2021-01-19 21:31:10 +0000 |
| commit | 23ff8529ee207c634ce2e170c353938db7aa98a9 (patch) | |
| tree | 78216de32664757524428a271e68e009aef0a118 /drivers/hwmon/pwm-fan.c | |
| parent | thermal: intel: pch: Fix unexpected shutdown at critical temperature (diff) | |
| download | kernel-23ff8529ee207c634ce2e170c353938db7aa98a9.tar.gz kernel-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 <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Acked-by: Zhang Rui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
| -rw-r--r-- | drivers/hwmon/pwm-fan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index 777439f48c14..c8a15971d704 100644 --- a/drivers/hwmon/pwm-fan.c +++ b/drivers/hwmon/pwm-fan.c @@ -422,7 +422,6 @@ static int pwm_fan_probe(struct platform_device *pdev) return ret; } ctx->cdev = cdev; - thermal_cdev_update(cdev); } return 0; |
