Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7426d29e authored by Benoit Taine's avatar Benoit Taine Committed by Greg Kroah-Hartman
Browse files

ipack: Replace DEFINE_PCI_DEVICE_TABLE macro use



We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.

Signed-off-by: default avatarBenoit Taine <benoit.taine@lip6.fr>
Acked-by: default avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 389345cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -618,7 +618,7 @@ static void tpci200_pci_remove(struct pci_dev *dev)
	__tpci200_pci_remove(tpci200);
}

static DEFINE_PCI_DEVICE_TABLE(tpci200_idtable) = {
static const struct pci_device_id tpci200_idtable[] = {
	{ TPCI200_VENDOR_ID, TPCI200_DEVICE_ID, TPCI200_SUBVENDOR_ID,
	  TPCI200_SUBDEVICE_ID },
	{ 0, },