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>
Cette révision appartient à :
Viresh Kumar
2013-10-03 20:28:55 +05:30
révisé par Rafael J. Wysocki
Parent cb8bd497a6
révision eaf8120e8f
3 fichiers modifiés avec 0 ajouts et 6 suppressions

Voir le fichier

@@ -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);
}