OSDN Git Service

cpuidle: powernv: Avoid endianness conversions while parsing DT
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>
Thu, 19 Feb 2015 05:24:53 +0000 (23:24 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 Feb 2015 22:44:38 +0000 (23:44 +0100)
commit70734a786acfd1998e47d40df19cba5c29469bdf
tree4acd643d611cfe6aa65f92ab865780159a7f50af
parent92c83ff5b42b109c94fdeee53cb31f674f776d75
cpuidle: powernv: Avoid endianness conversions while parsing DT

We currently read the information about idle states from the DT
so as to populate the cpuidle table. Use those APIs to read from
the DT that can avoid endianness conversions of the property values
in the cpuidle driver.

Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c