mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
ee64e7f697
commit
203b42f731
18 changed files with 31 additions and 31 deletions
|
|
@ -1157,7 +1157,7 @@ static void __cpuinit start_cpu_timer(int cpu)
|
|||
{
|
||||
struct delayed_work *work = &per_cpu(vmstat_work, cpu);
|
||||
|
||||
INIT_DELAYED_WORK_DEFERRABLE(work, vmstat_update);
|
||||
INIT_DEFERRABLE_WORK(work, vmstat_update);
|
||||
schedule_delayed_work_on(cpu, work, __round_jiffies_relative(HZ, cpu));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue