diff options
-rw-r--r-- | drivers/cpufreq/longhaul.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c index 4ada1cccb052..70b66fda3cad 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c | |||
@@ -921,13 +921,7 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy) | |||
921 | policy->cpuinfo.transition_latency = 200000; /* nsec */ | 921 | policy->cpuinfo.transition_latency = 200000; /* nsec */ |
922 | policy->cur = calc_speed(longhaul_get_cpu_mult()); | 922 | policy->cur = calc_speed(longhaul_get_cpu_mult()); |
923 | 923 | ||
924 | ret = cpufreq_frequency_table_cpuinfo(policy, longhaul_table); | 924 | return cpufreq_table_validate_and_show(policy, longhaul_table); |
925 | if (ret) | ||
926 | return ret; | ||
927 | |||
928 | cpufreq_frequency_table_get_attr(longhaul_table, policy->cpu); | ||
929 | |||
930 | return 0; | ||
931 | } | 925 | } |
932 | 926 | ||
933 | static int longhaul_cpu_exit(struct cpufreq_policy *policy) | 927 | static int longhaul_cpu_exit(struct cpufreq_policy *policy) |