diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-04-03 12:07:39 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-04-10 08:40:45 +0200 |
commit | 2dd0df8472ff9bb520673cb5862b08be9290c9fa (patch) | |
tree | 6026eab3515aa7cb2547d42a27937abcbbf61137 /drivers/cpufreq/freq_table.c | |
parent | cpufreq: SCMI: Don't validate the frequency table twice (diff) | |
download | linux-2dd0df8472ff9bb520673cb5862b08be9290c9fa.tar.xz linux-2dd0df8472ff9bb520673cb5862b08be9290c9fa.zip |
cpufreq: Drop cpufreq_table_validate_and_show()
This isn't used anymore. Remove the helper and update documentation
accordingly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/freq_table.c')
-rw-r--r-- | drivers/cpufreq/freq_table.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c index 10e119ae66dd..3a8cc99e6815 100644 --- a/drivers/cpufreq/freq_table.c +++ b/drivers/cpufreq/freq_table.c @@ -352,20 +352,6 @@ static int set_freq_table_sorted(struct cpufreq_policy *policy) return 0; } -int cpufreq_table_validate_and_show(struct cpufreq_policy *policy, - struct cpufreq_frequency_table *table) -{ - int ret; - - ret = cpufreq_frequency_table_cpuinfo(policy, table); - if (ret) - return ret; - - policy->freq_table = table; - return 0; -} -EXPORT_SYMBOL_GPL(cpufreq_table_validate_and_show); - int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy) { int ret; |