]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi/drivers: use auto_attach instead of attach_usb
authorIan Abbott <abbotti@mev.co.uk>
Tue, 30 Oct 2012 13:30:03 +0000 (13:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:53:50 +0000 (10:53 -0700)
commitb450781ff96ba1e7af64c635a91b22e1511adfdb
tree6bb819fab50092b3d1b9f5a0aeb4a157daf88292
parent21dd817d565d1432793452c88a60af0010e67343
staging: comedi/drivers: use auto_attach instead of attach_usb

Change the usbdux, usbduxfast and usbduxsigma drivers to use the new
`auto_attach()` method instead of the `attach_usb()` method.  I plan to
remove the `attach_usb()` and `attach_pci()` methods from `struct
comedi_driver` once nothing is using them.

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