diff options
author | Gautham R Shenoy <[email protected]> | 2016-01-27 12:02:26 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-01-27 23:13:59 +0100 |
commit | 2dadfd7564ef28391609c7ef896fd85218799012 (patch) | |
tree | 08dc2311bca1e793dc9fdb9c8d3a346348bf0e78 /lib/netdev-notifier-error-inject.c | |
parent | e4b133cc4b30b48d488e4e4fffb132f173ce4358 (diff) |
cpufreq: Use list_is_last() to check last entry of the policy list
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.
Signed-off-by: Gautham R. Shenoy <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions