cpuidle: powernv: Populate cpuidle state details by querying the device-tree
authorPreeti U. Murthy <preeti@linux.vnet.ibm.com>
Tue, 14 Oct 2014 07:53:00 +0000 (13:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2014 22:58:58 +0000 (00:58 +0200)
commit74aa51b5ccd3975392e30d11820dc073c5f2cd32
treebbdcbd0339855a9dd08eb7d7b3794953b28fb135
parentf114040e3ea6e07372334ade75d1ee0775c355e1
cpuidle: powernv: Populate cpuidle state details by querying the device-tree

We hard code the metrics relevant for cpuidle states in the kernel today.
Instead pick them up from the device tree so that they remain relevant
and updated for the system that the kernel is running on.

Signed-off-by: Preeti U. Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c