staging/comedi/me_daq: Convert pci_table entries to PCI_DEVICE (if PCI_ANY_ID is...
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 6 Nov 2011 23:54:06 +0000 (00:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:39:36 +0000 (18:39 -0800)
commitdbecdf36ceb1ce80d259d620c57cec9176979fe8
treee52a87a2c493143cdd8184ebc183838ddb73daa6
parent9fb7d6fa1d471338de747c0cdae015bde696f8df
staging/comedi/me_daq: 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/me_daq.c