PCI core API pci_dev_id() can be used to get the BDF number for a pci device. We don't need to compose it mannually. Use pci_dev_id() to simplify the code and make the code more readable. Xiongfeng Wang (3): PCI: apple: use pci_dev_id() to simplify the code PCI/AER: Use pci_dev_id() to simplify the code PCI/IOV: Use pci_dev_id() to simplify the code drivers/pci/controller/pcie-apple.c | 4 ++-- drivers/pci/iov.c | 3 +-- drivers/pci/pcie/aer.c | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) -- 2.20.1