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/cpufreq | |
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/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq_conservative.c | 2 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index 235a340e81f2..55f0354864e2 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c | |||
@@ -466,7 +466,7 @@ static inline void dbs_timer_init(struct cpu_dbs_info_s *dbs_info) | |||
466 | delay -= jiffies % delay; | 466 | delay -= jiffies % delay; |
467 | 467 | ||
468 | dbs_info->enable = 1; | 468 | dbs_info->enable = 1; |
469 | INIT_DELAYED_WORK_DEFERRABLE(&dbs_info->work, do_dbs_timer); | 469 | INIT_DEFERRABLE_WORK(&dbs_info->work, do_dbs_timer); |
470 | schedule_delayed_work_on(dbs_info->cpu, &dbs_info->work, delay); | 470 | schedule_delayed_work_on(dbs_info->cpu, &dbs_info->work, delay); |
471 | } | 471 | } |
472 | 472 | ||
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 836e9b062e5e..14c1af5a264f 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -644,7 +644,7 @@ static inline void dbs_timer_init(struct cpu_dbs_info_s *dbs_info) | |||
644 | delay -= jiffies % delay; | 644 | delay -= jiffies % delay; |
645 | 645 | ||
646 | dbs_info->sample_type = DBS_NORMAL_SAMPLE; | 646 | dbs_info->sample_type = DBS_NORMAL_SAMPLE; |
647 | INIT_DELAYED_WORK_DEFERRABLE(&dbs_info->work, do_dbs_timer); | 647 | INIT_DEFERRABLE_WORK(&dbs_info->work, do_dbs_timer); |
648 | schedule_delayed_work_on(dbs_info->cpu, &dbs_info->work, delay); | 648 | schedule_delayed_work_on(dbs_info->cpu, &dbs_info->work, delay); |
649 | } | 649 | } |
650 | 650 | ||