staging: comedi: usbdux: use comedi_load_firmware()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:30:41 +0000 (14:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:12 +0000 (10:59 -0700)
commit1383b9ddb8d37ff3509af562e118b6aa34927a9d
tree37fafdc624281a82ce15917b1f67a79a954a6ef5
parent997beda3daa6fcf1bbc5d6a92b6111c32c881345
staging: comedi: usbdux: use comedi_load_firmware()

Use comedi_load_firmware() instead of duplicating the code in a
private function.

Also, rename firmware_upload() to have namespace associated with
the driver.

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