diff options
author | Sui Jingfeng <suijingfeng@loongson.cn> | 2023-08-25 14:27:13 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-09-28 16:54:54 -0500 |
commit | 18bf400530ca06e4bffcc9ce4741cf7a3526b85f (patch) | |
tree | b1bbbd47e3429f8616e0a2390052d7e526bdd89e /drivers/pci/controller/dwc/pci-layerscape.c | |
parent | c213ed390cf1352f954164bad71275d6a095200c (diff) |
drm/amdgpu: Use pci_get_base_class() to reduce duplicated code
Use pci_get_base_class() to reduce duplicated code. No functional change
intended.
Link: https://lore.kernel.org/r/20230825062714.6325-5-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions