commit | 999f572983de5e1a4ee9f42daa51b5448f12dd64 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Mar 21 15:46:25 2016 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Mar 22 23:13:36 2016 +0100 |
tree | 39a6d29cef230b193517e076525af964b75163c8 | |
parent | 0a300767e5882ad5b687966c80f9620aa0871be5 [diff] |
cpufreq: Introduce cpufreq_update_current_freq() Move the part of cpufreq_update_policy() that obtains the current frequency from the driver and updates policy->cur if necessary to a separate function, cpufreq_get_current_freq(). That should not introduce functional changes and subsequent change set will need it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>