diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-05-23 13:05:19 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-30 20:41:07 +0900 |
| commit | c5db3b755ccf6bf046b5b5fa1b94cee1cf609bd8 (patch) | |
| tree | b5b3f86149f90e26705614262491099460552038 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | 44d3fcaece73f8a60369cb609f4b81a2270c8e0c (diff) | |
staging: comedi: usbduxsigma: tidy up usbdux_ai_insn_read()
Rename the function so it has namespace associated with the driver.
Rename the local variable used for the private data pointer.
Return -EBUSY if an asynchronous command is running and the read cannot
be completed.
Propagate the errno if the receive_dux_command() fails.
Tidy up the function to make it more concise.
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 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions
