]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: comedi: remove old auto-config
authorIan Abbott <abbotti@mev.co.uk>
Wed, 14 Nov 2012 13:10:34 +0000 (13:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:25:47 +0000 (16:25 -0800)
commit847d74a26010e9bae51299b7c1008c5ec9a349f4
tree2f8bda89d815e97bdd5f7f45eab42fc9b8d61d95
parent206cb10816d3b1ee38761b387106973df52c4315
staging: comedi: remove old auto-config

All the Comedi drivers that call `comedi_pci_auto_config()` or
`comedi_usb_auto_config()` define a `auto_attach()` handler in their
`struct comedi_driver`.  There is no need to fall back to abusing the
`attach()` handler any more, so remove the code that supports that.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c