aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>2015-02-03 12:13:44 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-03-26 15:23:18 +1100
commit605f30205348f1d808d98d77505149da8b047b9f (patch)
treeca871762ae0da9fc9872ab1aadc8e3ccab7ac311 /arch/powerpc/lib
parent1318470d7877dbb7168c6edcdc6127912b45f81e (diff)
downloadkernel_replicant_linux-605f30205348f1d808d98d77505149da8b047b9f.tar.gz
kernel_replicant_linux-605f30205348f1d808d98d77505149da8b047b9f.tar.bz2
kernel_replicant_linux-605f30205348f1d808d98d77505149da8b047b9f.zip
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>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions