From: H Hartley Sweeten Date: Tue, 14 May 2013 20:30:52 +0000 (-0700) Subject: staging: comedi: usbduxfast: absorb tidy_up() into the (*detach) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~661 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38bf7ba8a7e866350ac24f508f6b3a9685631dcb;p=pandora-kernel.git staging: comedi: usbduxfast: absorb tidy_up() into the (*detach) Now that the usb (*probe) is handled in the comedi_driver (*auto_attach) the comedi_driver (*detach) will be called automatically if the attach fails. The tidy_up() calls in the (*auto_attach) are not needed. Remove them and absorb the code in tidy_up() into the (*detach). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed