Re: [Update][PATCH] cpufreq: Do not hold driver module references foradditional policy CPUs

From: Viresh Kumar
Date: Fri Aug 02 2013 - 10:39:04 EST


On 2 August 2013 19:01, Rafael J. Wysocki <rjw@xxxxxxx> 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@xxxxxxxxxx>
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@xxxxxxxxxx>
---
drivers/cpufreq/cpufreq.c | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)

Attachment: 0001-cpufreq-Pass-policy-to-cpufreq_add_policy_cpu.patch
Description: Binary data