From: H Hartley Sweeten Date: Tue, 14 May 2013 20:29:35 +0000 (-0700) Subject: staging: comedi: usbduxfast: Use comedi_usb_auto_unconfig() for (*disconnect) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~664 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c4ab6715cf34293f40c8c80f361ca08d7cf1bc2;p=pandora-kernel.git staging: comedi: usbduxfast: Use comedi_usb_auto_unconfig() for (*disconnect) The usb_driver (*disconnect) calls comedi_usb_auto_unconfig() then frees any allocations by calling tidy_up(). comedi_usb_auto_unconfig() calls the comedi_driver (*detach) function, usbduxfast_detach(). Move the tidy_up() call into usbduxfast_detach() and use the 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