]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit005470a0670ba6f5d6e3b2fda708dbf9e807051c
tree4acd643d611cfe6aa65f92ab865780159a7f50af
parente217e821d60b20d76bf7cfa0a7461d68fe9a3296
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