diff options
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r-- | drivers/char/sonypi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index f87780502b41..320debbe32fa 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1433,7 +1433,7 @@ static int __devexit sonypi_remove(struct platform_device *dev) | |||
1433 | sonypi_disable(); | 1433 | sonypi_disable(); |
1434 | 1434 | ||
1435 | synchronize_irq(sonypi_device.irq); | 1435 | synchronize_irq(sonypi_device.irq); |
1436 | flush_work_sync(&sonypi_device.input_work); | 1436 | flush_work(&sonypi_device.input_work); |
1437 | 1437 | ||
1438 | if (useinput) { | 1438 | if (useinput) { |
1439 | input_unregister_device(sonypi_device.input_key_dev); | 1439 | input_unregister_device(sonypi_device.input_key_dev); |