projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
workqueue: deprecate flush[_delayed]_work_sync()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
collie_battery.c
diff --git
a/drivers/power/collie_battery.c
b/drivers/power/collie_battery.c
index 74c6b23aeabfc769c6e2892577669ab658a32ade..b19bfe400f8c23bb0512ea8b642dd6bd5034fced 100644
(file)
--- a/
drivers/power/collie_battery.c
+++ b/
drivers/power/collie_battery.c
@@
-290,7
+290,7
@@
static struct gpio collie_batt_gpios[] = {
static int collie_bat_suspend(struct ucb1x00_dev *dev, pm_message_t state)
{
/* flush all pending status updates */
- flush_work
_sync
(&bat_work);
+ flush_work(&bat_work);
return 0;
}