staging: comedi: vmk80xx: factor out usb buffer allocation
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 00:21:40 +0000 (17:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:07:10 +0000 (18:07 -0800)
commit78f8fa7f00689f4385c28b1b2be30c83f331c497
tree86627d075446cb3dfdd65c7c4585e4f461dfc46e
parent49253d542cc0f5f771dc254d248162a2a666649d
staging: comedi: vmk80xx: factor out usb buffer allocation

Factor the code that allocates the usb buffers out of vmk80xx_usb_probe().

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