powerpc/kernel: Change retrieval of pci_dn

Michael Ellerman patch-notifications at ellerman.id.au
Thu Aug 31 21:36:29 AEST 2017


On Tue, 2017-08-29 at 13:11:51 UTC, "Bryant G. Ly" wrote:
> For a PCI device it's pci_dn can be retrieved from
> pdev->dev.archdata.firmware_data, PCI_DN(devnode), or parent's list.
> Thus, we should just use the existing function pci_get_pdn_by_devfn
> to get the pci_dn.
> 
> Signed-off-by: Bryant G. Ly <bryantly at linux.vnet.ibm.com>
> Reviewed-by: Sam Bobroff <sam.bobroff at au1.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f9df74dfce542ad2aea2e601ef1a12

cheers


More information about the Linuxppc-dev mailing list