From: Michael Ellerman <mpe@ellerman.id.au> Date: 2017-08-29 06:33:17
"Bryant G. Ly" [off-list ref] writes:
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 generic function pci_get_pdn_by_devfn
to get the pci_dn.
Signed-off-by: Bryant G. Ly <redacted>
Minor issue, it's preferable if the email in your Signed-off-by matches
the email you send patches from.
cheers