[PATCH 2/5] cpufreq: remove policy from cpufreq_policy_list in system suspend

2013-08-20 Thread Viresh Kumar
cpufreq_policy_list is a list of active policies. We do remove policies from this list when all CPUs belonging to that policy are removed. But during suspend we don't really free a policy struct as it will be used again during resume. And so we didn't remove it from cpufreq_policy_list as well..

[PATCH 2/5] cpufreq: remove policy from cpufreq_policy_list in system suspend

2013-08-20 Thread Viresh Kumar
cpufreq_policy_list is a list of active policies. We do remove policies from this list when all CPUs belonging to that policy are removed. But during suspend we don't really free a policy struct as it will be used again during resume. And so we didn't remove it from cpufreq_policy_list as well..