diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 18:58:55 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-16 02:50:31 +0400 |
commit | eaf8120e8f9c4efc71475b1e08b8e2d3e421e6ca (patch) | |
tree | b1389dfd8833261042621347cc1e736fe5b00e25 /drivers/cpufreq/powernow-k7.c | |
parent | cb8bd497a61adea2ccb937e3181408fb95c78b52 (diff) | |
download | linux-eaf8120e8f9c4efc71475b1e08b8e2d3e421e6ca.tar.xz |
cpufreq: powernow: 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().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/powernow-k7.c')
-rw-r--r-- | drivers/cpufreq/powernow-k7.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/powernow-k7.c b/drivers/cpufreq/powernow-k7.c index 14cd98f5a096..44d345bad6fb 100644 --- a/drivers/cpufreq/powernow-k7.c +++ b/drivers/cpufreq/powernow-k7.c @@ -673,8 +673,6 @@ static int powernow_cpu_init(struct cpufreq_policy *policy) policy->cpuinfo.transition_latency = cpufreq_scale(2000000UL, fsb, latency); - policy->cur = powernow_get(0); - return cpufreq_table_validate_and_show(policy, powernow_table); } |