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/devfreq | |
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/devfreq')
-rw-r--r-- | drivers/devfreq/devfreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 70c31d43fff3..b146d76f04cf 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
@@ -607,7 +607,7 @@ static int __init devfreq_start_polling(void) | |||
607 | mutex_lock(&devfreq_list_lock); | 607 | mutex_lock(&devfreq_list_lock); |
608 | polling = false; | 608 | polling = false; |
609 | devfreq_wq = create_freezable_workqueue("devfreq_wq"); | 609 | devfreq_wq = create_freezable_workqueue("devfreq_wq"); |
610 | INIT_DELAYED_WORK_DEFERRABLE(&devfreq_work, devfreq_monitor); | 610 | INIT_DEFERRABLE_WORK(&devfreq_work, devfreq_monitor); |
611 | mutex_unlock(&devfreq_list_lock); | 611 | mutex_unlock(&devfreq_list_lock); |
612 | 612 | ||
613 | devfreq_monitor(&devfreq_work.work); | 613 | devfreq_monitor(&devfreq_work.work); |