Re: [PATCH RESEND] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-27 Thread Rafael J. Wysocki
On Wednesday, January 27, 2016 12:06:11 PM Viresh Kumar wrote: > On 27-01-16, 12:02, Gautham R. Shenoy wrote: > > Currently next_policy() explicitly checks if a policy is the last > > policy in the cpufreq_policy_list. Use the standard list_is_last > > primitive instead. > > > > Cc: Viresh Kumar

Re: [PATCH RESEND] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Viresh Kumar
On 27-01-16, 12:02, Gautham R. Shenoy wrote: > Currently next_policy() explicitly checks if a policy is the last > policy in the cpufreq_policy_list. Use the standard list_is_last > primitive instead. > > Cc: Viresh Kumar > Signed-off-by: Gautham R. Shenoy > --- > The earlier version one was bas

[PATCH RESEND] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Gautham R. Shenoy
Currently next_policy() explicitly checks if a policy is the last policy in the cpufreq_policy_list. Use the standard list_is_last primitive instead. Cc: Viresh Kumar Signed-off-by: Gautham R. Shenoy --- The earlier version one was based on an Juri's experimental branch. I have based this one o