OSDN Git Service

staging: comedi: amplc_pc236: remove manual configuration of PCI boards
authorIan Abbott <abbotti@mev.co.uk>
Fri, 25 Jul 2014 09:04:49 +0000 (10:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:28:37 +0000 (11:28 -0700)
commit046874f7fbd1e26f8bc4dccacc40bf1c9956986c
tree499727e599d20c5100af38e2d6554f15b1e1eb5c
parent12606fe74b90ae53c4aa03419121cd6bf786a80b
staging: comedi: amplc_pc236: remove manual configuration of PCI boards

Remove the code that allows PCI boards to be manually attached by the
`COMEDI_DEVCONFIG` ioctl (or the "comedi_config" application).
Supported PCI boards (PCI236) will be attached automatically at probe
time via `comedi_pci_auto_config()` and the `auto_attach` hook in the
`struct comedi_driver`.

The "wildcard" entry in `pc236_boards[]` was only used when manually
attaching a PCI board using a driver name instead of a board name, so is
no longer needed.  Remove it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc236.c