diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-06-29 11:57:07 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-06-30 19:45:41 +0200 |
commit | f9ccdec24d91ffddf1c6f4173b0e191fc08c7d14 (patch) | |
tree | c509af76f620b481f209b3a1685ed78c1b0f323a /include/linux/cpufreq.h | |
parent | 3e0f897fd92662f0ff21ca1759d724a9ad574858 (diff) |
cpufreq: Reuse cpufreq_driver_resolve_freq() in __cpufreq_driver_target()
__cpufreq_driver_target() open codes cpufreq_driver_resolve_freq(), lets
make the former reuse the later.
Separate out __resolve_freq() to accept relation as well as an argument
and use it at both the locations.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions