summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal.c
diff options
context:
space:
mode:
authorPreeti U Murthy2015-02-03 07:43:44 +0100
committerMichael Ellerman2015-03-26 05:23:18 +0100
commit605f30205348f1d808d98d77505149da8b047b9f (patch)
treeca871762ae0da9fc9872ab1aadc8e3ccab7ac311 /arch/powerpc/platforms/powernv/opal.c
parentps3: Fix trivial typos in comment and debug message (diff)
downloadkernel-qcow2-linux-605f30205348f1d808d98d77505149da8b047b9f.tar.gz
kernel-qcow2-linux-605f30205348f1d808d98d77505149da8b047b9f.tar.xz
kernel-qcow2-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/platforms/powernv/opal.c')
0 files changed, 0 insertions, 0 deletions