]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: vmk80xx: move usb_driver (*disconnect) code
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 00:18:04 +0000 (17:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:07:09 +0000 (18:07 -0800)
commit9377b9234f159773a53c7277559cc24397dd9803
tree53e0ad1eccce6278481e558cbd8f21c735892b7a
parent07b502f50bfc290222fe4032501619a44bbd777e
staging: comedi: vmk80xx: move usb_driver (*disconnect) code

The usb_driver (*disconnect) in this driver calls the comedi core
comedi_usb_auto_unconfig() which calls the comedi_driver (*detach).

Move the code in the (*disconnect) to the (*detach) to get all the
disconnect/detach in one place.

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/vmk80xx.c