|
@@ -249,14 +249,12 @@ static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
|
|
{
|
|
{
|
|
policy->cur = policy->min = policy->max = exynos_getspeed(policy->cpu);
|
|
policy->cur = policy->min = policy->max = exynos_getspeed(policy->cpu);
|
|
|
|
|
|
- cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu);
|
|
|
|
-
|
|
|
|
/* set the transition latency value */
|
|
/* set the transition latency value */
|
|
policy->cpuinfo.transition_latency = 100000;
|
|
policy->cpuinfo.transition_latency = 100000;
|
|
|
|
|
|
cpumask_setall(policy->cpus);
|
|
cpumask_setall(policy->cpus);
|
|
|
|
|
|
- return cpufreq_frequency_table_cpuinfo(policy, exynos_info->freq_table);
|
|
|
|
|
|
+ return cpufreq_table_validate_and_show(policy, exynos_info->freq_table);
|
|
}
|
|
}
|
|
|
|
|
|
static int exynos_cpufreq_cpu_exit(struct cpufreq_policy *policy)
|
|
static int exynos_cpufreq_cpu_exit(struct cpufreq_policy *policy)
|