]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
platform/x86: intel_ips: Use PCI_VDEVICE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 5 Oct 2017 07:46:40 +0000 (10:46 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 8 Oct 2017 18:07:14 +0000 (21:07 +0300)
Intel vendor ID is defined globally, thus we may use PCI_VDEVICE().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_ips.c

index 6f6900065bc206f588af4d5d62dd14c2831b6d9c..489ff6fff9f9cc5e3d5d95953008db0d9bfa860b 100644 (file)
@@ -1482,8 +1482,7 @@ ips_link_to_i915_driver(void)
 EXPORT_SYMBOL_GPL(ips_link_to_i915_driver);
 
 static const struct pci_device_id ips_id_table[] = {
-       { PCI_DEVICE(PCI_VENDOR_ID_INTEL,
-                    PCI_DEVICE_ID_INTEL_THERMAL_SENSOR), },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_THERMAL_SENSOR), },
        { 0, }
 };