commit | 45d6f1965e9a8b830dd69b98cf8d45de53394ee5 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Nov 14 13:10:36 2012 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 14 16:25:47 2012 -0800 |
tree | ad8517b6992f4d8d959c868557367c0d6d08ca48 | |
parent | a692e9743a7b2085afbca2f7e50a449c3e205cc0 [diff] |
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>