Re: [PATCH] drm/radeon: Use pci_dev_id() to simplify the code

2023-08-14 Thread Alex Deucher
Applied. Thanks! On Fri, Aug 11, 2023 at 9:45 AM 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. > > Signed-off-by: Zheng Zengkai > --- > driver

[PATCH] drm/radeon: Use pci_dev_id() to simplify the code

2023-08-11 Thread Zheng Zengkai
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. Signed-off-by: Zheng Zengkai --- drivers/gpu/drm/radeon/radeon_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di