diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-06-03 01:28:49 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-08 18:58:06 -0400 |
commit | 7ab4aabbaa98fbf9f8967fd93162d675439337e1 (patch) | |
tree | 4eb068b0c8be0e37dd3be69fbcbfe1d506382056 /drivers/cpufreq/cpufreq.c | |
parent | 34ac5d7a1d1da203008697e1a69cb4bdbff8684c (diff) |
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/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index cc252eecc45a..a28144697128 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -1947,8 +1947,8 @@ int __cpufreq_driver_target(struct cpufreq_policy *policy, | |||
1947 | return -EINVAL; | 1947 | return -EINVAL; |
1948 | } | 1948 | } |
1949 | 1949 | ||
1950 | retval = cpufreq_frequency_table_target(policy, freq_table, target_freq, | 1950 | retval = cpufreq_frequency_table_target(policy, target_freq, relation, |
1951 | relation, &index); | 1951 | &index); |
1952 | if (unlikely(retval)) { | 1952 | if (unlikely(retval)) { |
1953 | pr_err("%s: Unable to find matching freq\n", __func__); | 1953 | pr_err("%s: Unable to find matching freq\n", __func__); |
1954 | return retval; | 1954 | return retval; |