summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/eeh-powernv.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-09-29 15:52:04 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 16:22:47 +1100
commit39f0d6fbdc3f205d0c61a9c530c6827193cba64b (patch)
treecbf1b22a9ee3481743217e5a4af4438632f6c088 /arch/powerpc/platforms/powernv/eeh-powernv.c
parent735840b44bcc998e2574faf63d1aaaf9b41f2827 (diff)
downloadlinux-stable-39f0d6fbdc3f205d0c61a9c530c6827193cba64b.tar.gz
linux-stable-39f0d6fbdc3f205d0c61a9c530c6827193cba64b.tar.bz2
linux-stable-39f0d6fbdc3f205d0c61a9c530c6827193cba64b.zip
drivers/pci/hotplug: Use of_property_read_u32() in powernv driver
This replaces of_get_property() with of_property_read_u32() or of_property_read_string() so that we needn't consider the endian issue, the returned value always is in CPU-endian. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> [mpe: Fold in the change to the "ibm,slot-surprise-pluggable" case] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/eeh-powernv.c')
0 files changed, 0 insertions, 0 deletions