aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/drivers
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-09-14 19:48:23 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-09-14 19:48:23 +0200
commitf2fa1c812c91e99d0317d1fc7d845e1e05f39716 (patch)
tree8253727a8947e8b63a5c9b504d0bfb735648471b /arch/sh/drivers
parent59bb1d698028d7f01650f9def579efdfdfb7039f (diff)
parent9fdfb15a3dbf818e06be514f4abbfc071004cbe7 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r--arch/sh/drivers/push-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/push-switch.c b/arch/sh/drivers/push-switch.c
index c95f48ff3f6f..6ecba5f521eb 100644
--- a/arch/sh/drivers/push-switch.c
+++ b/arch/sh/drivers/push-switch.c
@@ -101,8 +101,8 @@ static int switch_drv_remove(struct platform_device *pdev)
device_remove_file(&pdev->dev, &dev_attr_switch);
platform_set_drvdata(pdev, NULL);
- flush_work(&psw->work);
timer_shutdown_sync(&psw->debounce);
+ flush_work(&psw->work);
free_irq(irq, pdev);
kfree(psw);