summaryrefslogtreecommitdiff
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorSui Jingfeng <suijingfeng@loongson.cn>2023-08-30 14:15:32 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-07 01:19:01 +0300
commit94cfada2a9cadec8e5302294fb1a144addfe6649 (patch)
tree3e689dacdfe7390d49972c1528ed59d131f80302 /drivers/nvmem
parent76432cf63e2f56df23bf72c1ef9e1b3ef87a05d7 (diff)
downloadlinux-94cfada2a9cadec8e5302294fb1a144addfe6649.tar.xz
drm/qxl: Use pci_is_vga() to identify VGA devices
Use pci_is_vga() to identify VGA devices instead of a private is_vga() function. This means qxl will use the VGA arbiter for old PCI_CLASS_NOT_DEFINED_VGA (0x0001) devices as well as the PCI_CLASS_DISPLAY_VGA (0x0300) devices it recognized previously. This probably doesn't make a difference because qxl_pci_driver doesn't claim PCI_CLASS_NOT_DEFINED_VGA devices by default, so it's mainly a code simplification. Link: https://lore.kernel.org/r/20230830111532.444535-6-sui.jingfeng@linux.dev Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> [bhelgaas: commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: David Airlie <airlied@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions