staging: comedi (adl_pci9118): use PCI_DEVICE() macro
authorJavier Martinez Canillas <martinez.javier@gmail.com>
Sat, 7 Aug 2010 06:39:33 +0000 (02:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:32:28 +0000 (14:32 -0700)
Use PCI_DEVICE() macro for pci table entries on comedi driver and thus improves readability.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/adl_pci9118.c

index b0e39cb7477482418b46eec89030daeee59ca429..a2bd4e6aff197cdafbd97131496f5bd61c478dee 100644 (file)
@@ -252,9 +252,8 @@ struct boardtype {
 };
 
 static DEFINE_PCI_DEVICE_TABLE(pci9118_pci_table) = {
-       {
-       PCI_VENDOR_ID_AMCC, 0x80d9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {
-       0}
+       { PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80d9) },
+       { 0 }
 };
 
 MODULE_DEVICE_TABLE(pci, pci9118_pci_table);