aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-21 15:16:38 +0000
committersaturneric <[email protected]>2025-04-21 15:16:38 +0000
commitb6fa6aab249ea9a41adf12b81c3fdc57adbe2c59 (patch)
tree89bf2c4a4dd6d00f18f22dbdef080fc205a407ad /drivers/hwmon/pwm-fan.c
parentfix: patch to bcm2712-rpi-5-b.dts solving boot issues (diff)
parentgcc-15: disable '-Wunterminated-string-initialization' entirely for now (diff)
downloadkernel-b6fa6aab249ea9a41adf12b81c3fdc57adbe2c59.tar.gz
kernel-b6fa6aab249ea9a41adf12b81c3fdc57adbe2c59.zip
Merge remote-tracking UNTIL 21. Apr. 2025
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
-rw-r--r--drivers/hwmon/pwm-fan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c
index dc019c15635a..2d89a3d553e9 100644
--- a/drivers/hwmon/pwm-fan.c
+++ b/drivers/hwmon/pwm-fan.c
@@ -494,7 +494,7 @@ static void pwm_fan_cleanup(void *__ctx)
{
struct pwm_fan_ctx *ctx = __ctx;
- del_timer_sync(&ctx->rpm_timer);
+ timer_delete_sync(&ctx->rpm_timer);
/* Switch off everything */
ctx->enable_mode = pwm_disable_reg_disable;
pwm_fan_power_off(ctx, true);