diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 18:58:52 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-16 02:50:31 +0400 |
commit | c8fb6e9a906c97d86c9d7dda20e0141f952db678 (patch) | |
tree | 4b3ebe8a4900c69caa0fb271261648e7781f3799 /drivers | |
parent | 1857a25cd3f0827f413be3328490dc5dc56e0f10 (diff) | |
download | linux-c8fb6e9a906c97d86c9d7dda20e0141f952db678.tar.xz |
cpufreq: p4: don't initialize part of policy set by core
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().
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/p4-clockmod.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/p4-clockmod.c b/drivers/cpufreq/p4-clockmod.c index 4fe6d4cac74c..6164c1cca504 100644 --- a/drivers/cpufreq/p4-clockmod.c +++ b/drivers/cpufreq/p4-clockmod.c @@ -230,7 +230,6 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy) /* the transition latency is set to be 1 higher than the maximum * transition latency of the ondemand governor */ policy->cpuinfo.transition_latency = 10000001; - policy->cur = stock_freq; return cpufreq_table_validate_and_show(policy, &p4clockmod_table[0]); } |