From: Sui Jingfeng <suijingfeng@xxxxxxxxxxx> v1: * Various improve. v2: * More fixes, optimizations and improvements. Sui Jingfeng (11): PCI/VGA: Use unsigned type for the io_state variable PCI: Add the pci_get_class_masked() helper PCI/VGA: Deal with VGA class devices PCI/VGA: Drop the inline in the vga_update_device_decodes() function. PCI/VGA: Move the new_state assignment out of the loop PCI/VGA: Fix two typos in the comments of pci_notify() PCI/VGA: vga_client_register() return -ENODEV on failure, not -1 PCI/VGA: Fix a typo to the comment of vga_default PCI/VGA: Fix a typo to the comments in vga_str_to_iostate() function PCI/VGA: Tidy up the code and comment format PCI/VGA: Replace full MIT license text with SPDX identifier drivers/pci/search.c | 30 ++++++ drivers/pci/vgaarb.c | 233 +++++++++++++++++++++++++---------------- include/linux/pci.h | 7 ++ include/linux/vgaarb.h | 27 +---- 4 files changed, 185 insertions(+), 112 deletions(-) base-commit: 69286072664490a366f3331f9496fe78efaca603 -- 2.34.1