commit | 39f0d6fbdc3f205d0c61a9c530c6827193cba64b | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Thu Sep 29 15:52:04 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Oct 04 16:22:47 2016 +1100 |
tree | cbf1b22a9ee3481743217e5a4af4438632f6c088 | |
parent | 735840b44bcc998e2574faf63d1aaaf9b41f2827 [diff] |
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>