]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/configfs: Use pci_name() for lookup
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 22 Jul 2025 14:10:56 +0000 (16:10 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Jul 2025 12:59:07 +0000 (05:59 -0700)
commit9b807f0bb0d0f4b029e56dd2daa4a5e6d87fab61
tree1bbad969cc561f7e6ab2faa165bcd322eddc21f2
parent400a6da1e967c4f117e4757412df06dcfaea0e6a
drm/xe/configfs: Use pci_name() for lookup

There is no need to manually build PCI device name from BDF data,
since it was already prepared and assigned and can be accessed by
calling pci_name() function.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250722141059.30707-4-michal.wajdeczko@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_configfs.c