diff options
Diffstat (limited to 'drivers/power/tosa_battery.c')
-rw-r--r-- | drivers/power/tosa_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/tosa_battery.c b/drivers/power/tosa_battery.c index 28bbe7e094e3..51199b5ce221 100644 --- a/drivers/power/tosa_battery.c +++ b/drivers/power/tosa_battery.c | |||
@@ -327,7 +327,7 @@ static struct gpio tosa_bat_gpios[] = { | |||
327 | static int tosa_bat_suspend(struct platform_device *dev, pm_message_t state) | 327 | static int tosa_bat_suspend(struct platform_device *dev, pm_message_t state) |
328 | { | 328 | { |
329 | /* flush all pending status updates */ | 329 | /* flush all pending status updates */ |
330 | flush_work_sync(&bat_work); | 330 | flush_work(&bat_work); |
331 | return 0; | 331 | return 0; |
332 | } | 332 | } |
333 | 333 | ||