]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: usbduxsigma: push usb (*disconnect) into comedi (*detach)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:49:26 +0000 (12:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:49 +0000 (20:40 +0900)
commit9319d4ab4424f1e3671ecb6f296558112972daed
tree01cc33a59cc441efd77080c8d55c7696d7b5dd65
parent65989c030bbca96be45ed137f6384dbd46030d10
staging: comedi: usbduxsigma: push usb (*disconnect) into comedi (*detach)

The usb_driver (*disconnect) already calls comedi_usb_auto_unconfig(), which
will call the comedi_driver (*detach). Move the other operations in the
(*disconnect) into the (*detach). The comedi_usb_auto_unconfig() can then
be used directly for the (*disconnect).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c