Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 39f0d6fb authored by Gavin Shan's avatar Gavin Shan Committed by Michael Ellerman
Browse files

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: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
[mpe: Fold in the change to the "ibm,slot-surprise-pluggable" case]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 735840b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment