diff options
| author | H Hartley Sweeten <[email protected]> | 2015-08-05 10:45:04 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-08-07 15:03:29 -0700 |
| commit | c72c4c6e3ab4e1a280ab21fd2a6063b4d37fd4ff (patch) | |
| tree | f9ee0dbc628b307d41f2a405f248fe0cbe541bd2 /tools/perf/scripts/python/bin | |
| parent | 55fb972ee8881e665c9251fa6cb806ab6e1bcadc (diff) | |
staging: comedi: me4000: return void from ai_round_cmd_args()
This function always succeeds. Change the return type to void and
remove the unnecessary error check in me4000_ai_do_cmd().
Move the function call in me4000_ai_do_cmd_test() from before Step 1
to Step 3 where the arguments are validated. There is no reason to
get the values if the previous steps fail.
Rename the function so it has namespace associated with the driver.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions