]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/cpufreq/loongson2_cpufreq.c
Merge remote-tracking branch 'net-next/master'
[karo-tx-linux.git] / drivers / cpufreq / loongson2_cpufreq.c
index dd4f3e46f7245b3c6d71a0d5203907370507ded4..2c8ec8e064490be7d56b4e591960b2e11a4bf813 100644 (file)
@@ -131,8 +131,7 @@ static int loongson2_cpufreq_cpu_init(struct cpufreq_policy *policy)
                return ret;
        }
 
-       return cpufreq_table_validate_and_show(policy,
-                                           &loongson2_clockmod_table[0]);
+       return cpufreq_generic_init(policy, &loongson2_clockmod_table[0], 0);
 }
 
 static int loongson2_cpufreq_exit(struct cpufreq_policy *policy)