projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff12b6
)
cpufreq: spear: don't initialize part of policy set by core
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:59:03 +0000
(20:29 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:32 +0000
(
00:50
+0200)
Many common initializations of struct policy are moved to core now and hence
this driver doesn't need to do it. This patch removes such code.
Most recent of those changes is to call ->get() in the core after calling
->init().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/spear-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/spear-cpufreq.c
b/drivers/cpufreq/spear-cpufreq.c
index
e9657e3
..
aacdb61
100644
(file)
--- a/
drivers/cpufreq/spear-cpufreq.c
+++ b/
drivers/cpufreq/spear-cpufreq.c
@@
-180,8
+180,6
@@
static int spear_cpufreq_init(struct cpufreq_policy *policy)
}
policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency;
- policy->cur = spear_cpufreq_get(0);
-
cpumask_setall(policy->cpus);
return 0;