diff options
| author | Bryant G. Ly <[email protected]> | 2017-08-29 08:11:51 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-08-31 14:26:40 +1000 |
| commit | f9df74dfce542ad2aea2e601ef1a1281e01fad6a (patch) | |
| tree | cdb7211e8e7351715492b86003a9f891e6bd7036 /tools/perf/scripts/python | |
| parent | 22259a6e800cdb8e06e65432fcd019983214be0c (diff) | |
powerpc/kernel: Change retrieval of pci_dn
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 <[email protected]>
Reviewed-by: Sam Bobroff <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions