diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-29 10:03:53 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 10:44:38 -0700 |
| commit | 825ca08e9cca69e03fe056e6de8e2445616a2da8 (patch) | |
| tree | 0504ea5c0d5f0171c87dd1d6bc2f818fc15bce2a /scripts | |
| parent | edecbd062816e69d7143c58346744ab7585bbb3d (diff) | |
staging: comedi: rtd520: convert driver to attach_pci
Convert this driver to use the comedi PCI auto config mechanism
by adding an attach_pci callback.
Since this driver requires no extra configuration options, and
the attach callback is now optional, remove it.
Use the found 'dev->board_name' for the resource name passed to
comedi_pci_enable() and request_irq().
Since this driver no longer walks the pci bus to find the pci_dev,
remove the pci_dev_put() in the detach.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
