diff options
| author | Zheng Zengkai <[email protected]> | 2023-08-11 11:10:57 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2023-08-14 17:05:05 +0000 |
| commit | 0e8207f54cf5902367080a0e648d3adae6c019a1 (patch) | |
| tree | 69b06b4e579d7a6f2b5bb139dd46f7e5b02c67d9 /drivers/pci/hotplug/ibmphp.h | |
| parent | PCI/IOV: Use pci_dev_id() to simplify the code (diff) | |
| download | kernel-0e8207f54cf5902367080a0e648d3adae6c019a1.tar.gz kernel-0e8207f54cf5902367080a0e648d3adae6c019a1.zip | |
PCI/P2PDMA: Use pci_dev_id() to simplify the code
When we have a struct pci_dev *, use pci_dev_id() instead of manually
composing the ID from dev->bus->number and dev->devfn.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Zheng Zengkai <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions
