mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
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 using PCI_DEVID(). Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Xiongfeng Wang <[email protected]> Reviewed-by: Yicong Yang <[email protected]> Reviewed-by: Yang Yingliang <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]