Re: [PATCH] ocxl: Use pci_dev_id() to simplify the code
From: Michael Ellerman <hidden>
Date: 2023-08-23 12:23:53
From: Michael Ellerman <hidden>
Date: 2023-08-23 12:23:53
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