Re: [Update][PATCH] cpufreq: Do not hold driver module referencesfor additional policy CPUs

From: Srivatsa S. Bhat
Date: Fri Aug 02 2013 - 10:49:50 EST


On 08/02/2013 08:08 PM, Viresh Kumar wrote:
> 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>
> ---

The patch looks good.

Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>

Regards,
Srivatsa S. Bhat

> drivers/cpufreq/cpufreq.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/