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>
This commit is contained in:
@@ -1848,9 +1848,9 @@ static int __devinit abx500_chargalg_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
/* Init work for chargalg */
|
||||
INIT_DELAYED_WORK_DEFERRABLE(&di->chargalg_periodic_work,
|
||||
INIT_DEFERRABLE_WORK(&di->chargalg_periodic_work,
|
||||
abx500_chargalg_periodic_work);
|
||||
INIT_DELAYED_WORK_DEFERRABLE(&di->chargalg_wd_work,
|
||||
INIT_DEFERRABLE_WORK(&di->chargalg_wd_work,
|
||||
abx500_chargalg_wd_work);
|
||||
|
||||
/* Init work for chargalg */
|
||||
|
Fai riferimento in un nuovo problema
Block a user