staging: comedi: usbduxsigma: absorb usbduxsigma_attach_common() into caller
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 30 Jul 2013 00:48:50 +0000 (17:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:45:01 +0000 (17:45 -0700)
commit259ed07b6c391b10fd8ed8d3afe38c5b04bb7904
treec00f1eab028cfece772d83e0077cd9f4c9355cc6
parent71500b272064410a3417ab764aec20572564d68d
staging: comedi: usbduxsigma: absorb usbduxsigma_attach_common() into caller

This function is only called by usbduxsigma_auto_attach(). Absorb it
and refactor the code a bit to match the usbdux driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c