summaryrefslogtreecommitdiff
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorSui Jingfeng <suijingfeng@loongson.cn>2023-08-30 14:15:31 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-07 01:19:01 +0300
commit76432cf63e2f56df23bf72c1ef9e1b3ef87a05d7 (patch)
treeb761a0ef517202cb9b311cdab83c8d685e5c0813 /drivers/nvmem
parentcdd3cecb521520ff316eea5ee36608b63a8df9f9 (diff)
downloadlinux-76432cf63e2f56df23bf72c1ef9e1b3ef87a05d7.tar.xz
drm/virtio: Use pci_is_vga() to identify VGA devices
Use pci_is_vga() to identify VGA devices instead of open-coding the class test. This means virtio_gpu_pci_quirk() will apply to old PCI_CLASS_NOT_DEFINED_VGA (0x0001) devices as well as the PCI_CLASS_DISPLAY_VGA (0x0300) devices it did previously. Link: https://lore.kernel.org/r/20230830111532.444535-5-sui.jingfeng@linux.dev Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> [bhelgaas: commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: David Airlie <airlied@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Gurchetan Singh <gurchetansingh@chromium.org> Cc: Chia-I Wu <olvaffe@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions