On 08/02/2013 08:08 PM, Viresh Kumar wrote:
On 2 August 2013 19:01, Rafael J. Wysocki rjw@sisk.pl wrote:
Care to add a changelog?
I'll apply this on top of my $subject patch, then.
I thought you will merge this one with your patch, but there is no harm in getting one more on my name :)
Changelog is (patch attached):
From: Viresh Kumar viresh.kumar@linaro.org Date: Fri, 2 Aug 2013 16:17:33 +0530 Subject: [PATCH] cpufreq: Pass policy to cpufreq_add_policy_cpu()
Caller of cpufreq_add_policy_cpu() already has pointer to policy structure and so there is no need to find it again in cpufreq_add_policy_cpu(). Lets pass it directly.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
The patch looks good.
Reviewed-by: Srivatsa S. Bhat srivatsa.bhat@linux.vnet.ibm.com
Regards, Srivatsa S. Bhat
drivers/cpufreq/cpufreq.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)