summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mixcomwd.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-10 16:49:17 -0700
committerJakub Kicinski <kuba@kernel.org>2025-04-10 16:51:07 -0700
commitcb7103298d1c5d8f71aa79283b64ca01c30264c7 (patch)
treece77754286d5a0ccbcaf92c47db1063a80745252 /drivers/watchdog/mixcomwd.c
parenta9843689e2de1a3727d58b4225e4f8664937aefd (diff)
parentab59a8605604f71bbbc16077270dc3f39648b7fc (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.15-rc2). Conflict: Documentation/networking/netdevices.rst net/core/lock_debug.c 04efcee6ef8d ("net: hold instance lock during NETDEV_CHANGE") 03df156dd3a6 ("xdp: double protect netdev->xdp_flags with netdev->lock") No adjacent changes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/watchdog/mixcomwd.c')
-rw-r--r--drivers/watchdog/mixcomwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
index 70d9cf84c342..1ecd5c48a005 100644
--- a/drivers/watchdog/mixcomwd.c
+++ b/drivers/watchdog/mixcomwd.c
@@ -141,7 +141,7 @@ static int mixcomwd_open(struct inode *inode, struct file *file)
__module_get(THIS_MODULE);
else {
if (mixcomwd_timer_alive) {
- del_timer(&mixcomwd_timer);
+ timer_delete(&mixcomwd_timer);
mixcomwd_timer_alive = 0;
}
}
@@ -295,7 +295,7 @@ static void __exit mixcomwd_exit(void)
if (!nowayout) {
if (mixcomwd_timer_alive) {
pr_warn("I quit now, hardware will probably reboot!\n");
- del_timer_sync(&mixcomwd_timer);
+ timer_delete_sync(&mixcomwd_timer);
mixcomwd_timer_alive = 0;
}
}