sb/ibexpeak: Use .device for single PCI ID

Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I40c4447579cfbf2b9c52dcfaa34f34b22f75c89c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39332
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2020-03-06 02:11:53 +01:00 committed by Angel Pons
parent dc98bed869
commit ef6eceea56
1 changed files with 1 additions and 6 deletions

View File

@ -43,13 +43,8 @@ static struct device_operations thermal_ops = {
.ops_pci = &pci_ops,
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_IBEXPEAK_THERMAL,
0
};
static const struct pci_driver pch_thermal __pci_driver = {
.ops = &thermal_ops,
.vendor = PCI_VENDOR_ID_INTEL,
.devices = pci_device_ids,
.device = PCI_DID_INTEL_IBEXPEAK_THERMAL,
};