[PATCH] ocxl: 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, 11 Aug 2023 18:20:39 +0800, Zheng Zengkai 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] ocxl: Use pci_dev_id() to simplify the code
https://git.kernel.org/powerpc/c/075a88d5eb2806712c64bed98c30b6890ec30311
cheers
More information about the Linuxppc-dev
mailing list