diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2019-06-20 08:35:49 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-06-28 11:17:12 +0200 |
commit | 5980752e6ef7079c0839576df10f8062d8a48883 (patch) | |
tree | 41400aa6e5b346636f7c6636ee2c737afbfd3b17 /mm/page_alloc.c | |
parent | 9801522840cc1073f8064b4c979b7b6995c74bca (diff) | |
download | linux-5980752e6ef7079c0839576df10f8062d8a48883.tar.bz2 |
cpufreq: Consolidate cpufreq_update_current_freq() and __cpufreq_get()
Their implementations are quite similar, so modify
cpufreq_update_current_freq() somewhat and call it from
__cpufreq_get().
Also rename cpufreq_update_current_freq() to
cpufreq_verify_current_freq(), as that's what it is doing.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions