commit | 605f30205348f1d808d98d77505149da8b047b9f | [log] [tgz] |
---|---|---|
author | Preeti U Murthy <preeti@linux.vnet.ibm.com> | Tue Feb 03 12:13:44 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Mar 26 15:23:18 2015 +1100 |
tree | ca871762ae0da9fc9872ab1aadc8e3ccab7ac311 | |
parent | 1318470d7877dbb7168c6edcdc6127912b45f81e [diff] |
powerpc/powernv: Avoid explicit endian conversions while parsing device tree We currently read the information about idle states from the device tree, so as to find out the CPU idle states supported by the platform. Use the of_property_read/count_xxx() APIs, which handle endian conversions for us, and mean we don't need any endian annotations in the code. Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>