diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:40:45 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:39 +0900 |
| commit | 05d4c6f6289fdd9df7fd875ddf361af876419796 (patch) | |
| tree | cd2ddcdf281ac7817ad8722df1434c4f2de400bd /tools/perf/scripts/python | |
| parent | 19d61fd2509ee41784af13eac1c04fba30b2d487 (diff) | |
staging: comedi: usbduxsigma: change return type of the stop functions
The usbdux_pwm_cancel() function is the only caller that does not validate
the comedi_device private data before calling the stop function. Move the
validation test to that function and remove the unnecessary sanity checks.
Since the stop functions always succeed, change the return type to void.
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')
0 files changed, 0 insertions, 0 deletions