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

Commit 494a3dd3 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman
Browse files

staging: comedi (adv_pci1723): use PCI_DEVICE() macro



Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability.

Signed-off-by: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7feb75ac
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -155,9 +155,8 @@ static const struct pci1723_board boardtypes[] = {
 * Should only be used for PCI and ISA-PnP devices
 */
static DEFINE_PCI_DEVICE_TABLE(pci1723_pci_table) = {
	{
	PCI_VENDOR_ID_ADVANTECH, 0x1723, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
	0}
	{ PCI_DEVICE(PCI_VENDOR_ID_ADVANTECH, 0x1723) },
	{ 0 }
};

MODULE_DEVICE_TABLE(pci, pci1723_pci_table);