From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:07:39 +0000 (-0700) Subject: staging: comedi: usbdux: move usb buffer allocation into new function X-Git-Tag: v3.12-rc1~183^2~595 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080bcc188782d733500f8315d55bd1f403106e68;p=pandora-kernel.git staging: comedi: usbdux: move usb buffer allocation into new function Move all the usb buffer allocation code in the usb_driver (*probe) into a new function, usbdux_alloc_usb_buffers(). This allows tidying up the error path in the (*probe). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed