aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/maple-cpufreq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/cpufreq/maple-cpufreq.c b/drivers/cpufreq/maple-cpufreq.c
index 6168d77b296d..b3fb661b2b56 100644
--- a/drivers/cpufreq/maple-cpufreq.c
+++ b/drivers/cpufreq/maple-cpufreq.c
@@ -181,10 +181,8 @@ static int maple_cpufreq_cpu_init(struct cpufreq_policy *policy)
181 * cpufreq core if in the secondary policy we tell it that 181 * cpufreq core if in the secondary policy we tell it that
182 * it actually must be one policy together with all others. */ 182 * it actually must be one policy together with all others. */
183 cpumask_setall(policy->cpus); 183 cpumask_setall(policy->cpus);
184 cpufreq_frequency_table_get_attr(maple_cpu_freqs, policy->cpu);
185 184
186 return cpufreq_frequency_table_cpuinfo(policy, 185 return cpufreq_table_validate_and_show(policy, maple_cpu_freqs);
187 maple_cpu_freqs);
188} 186}
189 187
190 188