diff options
| author | 2013-05-14 13:40:24 -0700 | |
|---|---|---|
| committer | 2013-05-16 16:24:29 -0700 | |
| commit | fbe38a8b3580aa0b9a842072de8ddd6510b1e522 (patch) | |
| tree | 15a51b60213fe7d9f404cdc30195d94105303d33 /include/linux/timerqueue.h | |
| parent | staging: comedi: usbduxfast: move usbduxfast_upload_firmware() (diff) | |
staging: comedi: usbduxfast: consolidate the firmware upload
Absorb the usbduxfastsub_stop(), usbduxfastsub_upload(), and
usbduxfastsub_start() functions into usbduxfast_upload_firmware().
Each of them just do a usb_control_msg() to the device and output
an error message if it fails. A similar message is also output by
usbduxfast_upload_firmware() so the extra messages are redundant.
We can also share the malloc'ed local buffer needed for the
usb_control_msg().
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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
