diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-20 14:31:32 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-21 10:59:17 -0700 |
| commit | 1cf35b51bea0201fd4552b3d83aaef4dcecf5187 (patch) | |
| tree | 8571d8455b5979cc3e4c410ec65b991b73f748ad /tools/perf/scripts/python/syscall-counts.py | |
| parent | 41327b3e7344dadf8391549216db4e81deb32b22 (diff) | |
staging: comedi: usbduxsigma: consolidate the firmware upload
Absorb the usbduxsub_stop(), usbduxsub_upload(), and usbduxsub_start()
functions into firmwareUpload().
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
firmware_upload() 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 <[email protected]>
Cc Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions