staging: comedi: don't call attach_pci handler
authorIan Abbott <abbotti@mev.co.uk>
Wed, 14 Nov 2012 13:10:35 +0000 (13:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:25:47 +0000 (16:25 -0800)
commita692e9743a7b2085afbca2f7e50a449c3e205cc0
tree1cfa2f962890b0416cadbba8d7115c931d530ac5
parent847d74a26010e9bae51299b7c1008c5ec9a349f4
staging: comedi: don't call attach_pci handler

All the Comedi drivers that call `comedi_pci_auto_config()` have
replaced the `attach_pci()` handler in their `struct comedi_driver` with
a `auto_attach()` handler, so there is no need to check for the
existence of the `attach_pci()` handler any more.  Remove this check and
the code that calls it.

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