staging/comedi/cb_pcimdda: Convert pci_table entries to PCI_DEVICE (if PCI_ANY_ID...
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 6 Nov 2011 23:54:03 +0000 (00:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:39:37 +0000 (18:39 -0800)
commit71d4c80db1e042baae6c5a2ca1bbfc16c89bd2b5
treeda2a8554d01a5bea0776a26e56d46e4532e19b40
parent8edbfb8dec32fa5a5bad0c2a5b49845f7b911f55
staging/comedi/cb_pcimdda: Convert pci_table entries to PCI_DEVICE (if PCI_ANY_ID is used)

This patch converts pci_table entries to use the PCI_DEVICE macro,
if .subvendor and .subdevice are set to PCI_ANY_ID,
and thus improves readablity.

Since the driver_data field isn't used anywhere we can also drop the
assignments for class, class_mask and driver_data.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/cb_pcimdda.c