Skip to content

Commit

Permalink
staging: comedi: adv_pci1710: remove "dummy" boardinfo entry
Browse files Browse the repository at this point in the history
The legacy attach used the "dummy" boardinfo entry to allow
matching a boardinfo to a pci card based on the "name" passed
by the comedi core. This driver now uses the PCI auto config
mechanism which always matches to the PCI vendor/device ids.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 12, 2012
1 parent 398e6f1 commit 60a6322
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/comedi/drivers/adv_pci1710.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Configuration options:
* correct channel number on every 12 bit
* sample */

#define DRV_NAME "adv_pci1710"

#define PCI_VENDOR_ID_ADVANTECH 0x13fe

/* hardware types of the cards */
Expand Down Expand Up @@ -293,9 +291,6 @@ static const struct boardtype boardtypes[] = {
.rangecode_ai = range_codes_pci17x1,
.ai_ns_min = 10000,
.fifo_half_size = 512,
}, {
/* dummy entry corresponding to driver name */
.name = DRV_NAME,
},
};

Expand Down

0 comments on commit 60a6322

Please sign in to comment.