Messages in this thread | | | Date | Tue, 22 Mar 2016 08:46:16 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH 2/3] cpufreq: Introduce cpufreq_update_current_freq() |
| |
On 21-03-16, 15:46, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > 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> > --- > drivers/cpufreq/cpufreq.c | 28 +++++++++++++++++++--------- > 1 file changed, 19 insertions(+), 9 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-- viresh
| |