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

All the Comedi drivers that call `comedi_usb_auto_config()` have
replaced the `attach_usb()` handler in their `struct comedi_driver` with
a `auto_attach()` handler, so there is no need to check for the
existence of the `attach_usb()` 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