From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:08:02 +0000 (-0700) Subject: staging: comedi: usbdux: push usb (*disconnect) into comedi (*detach) X-Git-Tag: v3.12-rc1~183^2~594 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7dd65f57cc4bf07c3bcfb798577e275186a9c6f;p=pandora-kernel.git staging: comedi: usbdux: push usb (*disconnect) into comedi (*detach) The usb_driver (*disconnect) calls comedi_usb_auto_unconfig() which will call the comedi_driver (*detach). Just move all the disconnect/detach into the comedi_driver and use comedi_usb_auto_unconfig() directly for the (*disconnect). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed