diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/drivers/push-switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/push-switch.c b/arch/sh/drivers/push-switch.c index 637b79b09657..5bfb341cc5c4 100644 --- a/arch/sh/drivers/push-switch.c +++ b/arch/sh/drivers/push-switch.c | |||
@@ -107,7 +107,7 @@ static int switch_drv_remove(struct platform_device *pdev) | |||
107 | device_remove_file(&pdev->dev, &dev_attr_switch); | 107 | device_remove_file(&pdev->dev, &dev_attr_switch); |
108 | 108 | ||
109 | platform_set_drvdata(pdev, NULL); | 109 | platform_set_drvdata(pdev, NULL); |
110 | flush_work_sync(&psw->work); | 110 | flush_work(&psw->work); |
111 | del_timer_sync(&psw->debounce); | 111 | del_timer_sync(&psw->debounce); |
112 | free_irq(irq, pdev); | 112 | free_irq(irq, pdev); |
113 | 113 | ||