summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-11-14 13:10:39 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 00:25:48 (GMT)
commitddbd029903d29ec9a5aceb82d4b0c4a7468d1984 (patch)
tree8c908b2c98bbcd6f522b23c59738d8e9a9e07e55 /drivers/staging/comedi
parenta588da1d5aac72801df0c83075225a6074c81ac5 (diff)
downloadlinux-fsl-qoriq-ddbd029903d29ec9a5aceb82d4b0c4a7468d1984.tar.xz
staging: comedi: remove attach_pci and attach_usb handlers
No comedi drivers set the `attach_pci()` or `attach_usb()` handlers in their `struct comedi_driver` any longer as they have all been replaced with an `auto_attach()` handler. Also, no code calls the `attach_pci()` or `attach_usb()` handlers any longer. Remove them from `struct comedi_driver`. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/comedidev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 5af3579..ce6ab93 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -201,8 +201,6 @@ struct comedi_driver {
struct module *module;
int (*attach) (struct comedi_device *, struct comedi_devconfig *);
void (*detach) (struct comedi_device *);
- int (*attach_pci) (struct comedi_device *, struct pci_dev *);
- int (*attach_usb) (struct comedi_device *, struct usb_interface *);
int (*auto_attach) (struct comedi_device *, unsigned long);
/* number of elements in board_name and board_id arrays */