diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-21 16:18:23 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-08-21 16:18:23 -0400 |
commit | 203b42f7317494ae5e5efc7be6fb7f29c927f102 (patch) | |
tree | 5636bc6da58284977678e0d2c2accc2573260a53 /drivers/power/ab8500_fg.c | |
parent | ee64e7f697ad7e5575e6ac8900cfb71975484421 (diff) |
workqueue: make deferrable delayed_work initializer names consistent
Initalizers for deferrable delayed_work are confused.
* __DEFERRED_WORK_INITIALIZER()
* DECLARE_DEFERRED_WORK()
* INIT_DELAYED_WORK_DEFERRABLE()
Rename them to
* __DEFERRABLE_WORK_INITIALIZER()
* DECLARE_DEFERRABLE_WORK()
* INIT_DEFERRABLE_WORK()
This patch doesn't cause any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/power/ab8500_fg.c')
-rw-r--r-- | drivers/power/ab8500_fg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index bf022255994c..5c9e7c263c38 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c | |||
@@ -2516,19 +2516,19 @@ static int __devinit ab8500_fg_probe(struct platform_device *pdev) | |||
2516 | INIT_WORK(&di->fg_acc_cur_work, ab8500_fg_acc_cur_work); | 2516 | INIT_WORK(&di->fg_acc_cur_work, ab8500_fg_acc_cur_work); |
2517 | 2517 | ||
2518 | /* Init work for reinitialising the fg algorithm */ | 2518 | /* Init work for reinitialising the fg algorithm */ |
2519 | INIT_DELAYED_WORK_DEFERRABLE(&di->fg_reinit_work, | 2519 | INIT_DEFERRABLE_WORK(&di->fg_reinit_work, |
2520 | ab8500_fg_reinit_work); | 2520 | ab8500_fg_reinit_work); |
2521 | 2521 | ||
2522 | /* Work delayed Queue to run the state machine */ | 2522 | /* Work delayed Queue to run the state machine */ |
2523 | INIT_DELAYED_WORK_DEFERRABLE(&di->fg_periodic_work, | 2523 | INIT_DEFERRABLE_WORK(&di->fg_periodic_work, |
2524 | ab8500_fg_periodic_work); | 2524 | ab8500_fg_periodic_work); |
2525 | 2525 | ||
2526 | /* Work to check low battery condition */ | 2526 | /* Work to check low battery condition */ |
2527 | INIT_DELAYED_WORK_DEFERRABLE(&di->fg_low_bat_work, | 2527 | INIT_DEFERRABLE_WORK(&di->fg_low_bat_work, |
2528 | ab8500_fg_low_bat_work); | 2528 | ab8500_fg_low_bat_work); |
2529 | 2529 | ||
2530 | /* Init work for HW failure check */ | 2530 | /* Init work for HW failure check */ |
2531 | INIT_DELAYED_WORK_DEFERRABLE(&di->fg_check_hw_failure_work, | 2531 | INIT_DEFERRABLE_WORK(&di->fg_check_hw_failure_work, |
2532 | ab8500_fg_check_hw_failure_work); | 2532 | ab8500_fg_check_hw_failure_work); |
2533 | 2533 | ||
2534 | /* Initialize OVV, and other registers */ | 2534 | /* Initialize OVV, and other registers */ |