diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-06-03 07:28:49 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-09 00:58:06 +0200 |
commit | 7ab4aabbaa98fbf9f8967fd93162d675439337e1 (patch) | |
tree | 4eb068b0c8be0e37dd3be69fbcbfe1d506382056 /drivers/cpufreq/amd_freq_sensitivity.c | |
parent | cpufreq: ondemand: Don't keep a copy of freq_table pointer (diff) | |
download | linux-7ab4aabbaa98fbf9f8967fd93162d675439337e1.tar.xz linux-7ab4aabbaa98fbf9f8967fd93162d675439337e1.zip |
cpufreq: Drop freq-table param to cpufreq_frequency_table_target()
The policy already has this pointer set, use it instead.
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/amd_freq_sensitivity.c')
-rw-r--r-- | drivers/cpufreq/amd_freq_sensitivity.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/amd_freq_sensitivity.c b/drivers/cpufreq/amd_freq_sensitivity.c index bc86816693a8..3bea1bb791a9 100644 --- a/drivers/cpufreq/amd_freq_sensitivity.c +++ b/drivers/cpufreq/amd_freq_sensitivity.c @@ -92,8 +92,7 @@ static unsigned int amd_powersave_bias_target(struct cpufreq_policy *policy, unsigned int index; cpufreq_frequency_table_target(policy, - policy->freq_table, policy->cur - 1, - CPUFREQ_RELATION_H, &index); + policy->cur - 1, CPUFREQ_RELATION_H, &index); freq_next = policy->freq_table[index].frequency; } |