projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8bd6d
)
platform/x86: intel_ips: Use PCI_VDEVICE() macro
author
Andy Shevchenko
<
[email protected]
>
Thu, 5 Oct 2017 07:46:40 +0000
(10:46 +0300)
committer
Andy Shevchenko
<
[email protected]
>
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 <
[email protected]
>
drivers/platform/x86/intel_ips.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_ips.c
b/drivers/platform/x86/intel_ips.c
index 6f6900065bc206f588af4d5d62dd14c2831b6d9c..489ff6fff9f9cc5e3d5d95953008db0d9bfa860b 100644
(file)
--- a/
drivers/platform/x86/intel_ips.c
+++ b/
drivers/platform/x86/intel_ips.c
@@
-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, }
};