diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-09-29 08:52:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-10-04 08:22:47 +0300 |
commit | 39f0d6fbdc3f205d0c61a9c530c6827193cba64b (patch) | |
tree | cbf1b22a9ee3481743217e5a4af4438632f6c088 /arch/powerpc/platforms/powernv/eeh-powernv.c | |
parent | 735840b44bcc998e2574faf63d1aaaf9b41f2827 (diff) | |
download | linux-39f0d6fbdc3f205d0c61a9c530c6827193cba64b.tar.xz |
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