staging: comedi: usbduxsigma: move firmware request/upload into (*auto_attach)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:32:01 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:24 +0000 (10:59 -0700)
commit0b2372897b0c23ee3f34656f3daf04e59c7f186b
tree78d68f848ac0c7b825088b1c97a1bfc2c93b4abe
parent1cf35b51bea0201fd4552b3d83aaef4dcecf5187
staging: comedi: usbduxsigma: move firmware request/upload into (*auto_attach)

The last step the usb_driver (*probe) does before handing off to the
comedi_driver (*auto_attach) is requesting and uploading the firmware.

Move the request/upload into the (*auto_attach) so we can use the
comedi_load_firmware() helper.

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/usbduxsigma.c