diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-20 14:29:39 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-21 10:59:11 -0700 |
| commit | 4bf6bfe3c8ae4d41c2bb3784981ba069c80ef55e (patch) | |
| tree | 892ff446125e7db385c46b3799ee5a836446fd0e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 71f89d1813535efb0839248446c349da92cd527a (diff) | |
staging: comedi: usbdux: consolidate the firmware upload
Absorb the usbdux_stop(), usbdux_upload(), and usbdux_start()
functions into firmware_upload().
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