[PATCH] powerpc/powernv/pci: use pci_dev_id() to simplify the code

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 23 21:55:55 AEST 2023


On Fri, 04 Aug 2023 16:04:35 +0800, Xiongfeng Wang wrote:
> 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 a little bit.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/powernv/pci: use pci_dev_id() to simplify the code
      https://git.kernel.org/powerpc/c/fe8aa8e3379326ecb77203cae50e8e83c054aedc

cheers


More information about the Linuxppc-dev mailing list