Revert "cpufreq: Use cpufreq_policy_list for iterating over policies"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 18 Aug 2013 13:35:59 +0000 (15:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 18 Aug 2013 13:35:59 +0000 (15:35 +0200)
commit878f6e074e9a7784a6e351512eace4ccb3542eef
tree7a22a91465ec075f537a02c29407457aeeabaab5
parent0e25246fb3d7455dc3405435da70156370e285ec
Revert "cpufreq: Use cpufreq_policy_list for iterating over policies"

Revert commit eb60852 (cpufreq: Use cpufreq_policy_list for iterating
over policies), because it breaks system suspend/resume on multiple
machines.

It either causes resume to block indefinitely or causes the BUG_ON()
in lock_policy_rwsem_##mode() to trigger on sysfs accesses to cpufreq
attributes.

Conflicts:
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq.c