diff options
author | Sui Jingfeng <suijingfeng@loongson.cn> | 2023-08-25 14:27:12 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-09-28 16:54:54 -0500 |
commit | c213ed390cf1352f954164bad71275d6a095200c (patch) | |
tree | 608dfb407f66cff644234da15dfd8e20374572b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 9ed8fcfd7f17152e6ff5711bb3ddca82f75a38d4 (diff) |
drm/nouveau: 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-4-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: Ben Skeggs <bskeggs@redhat.com>
Cc: Karol Herbst <kherbst@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions