aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-05-23 12:40:45 -0700
committerGreg Kroah-Hartman <[email protected]>2013-05-30 20:40:39 +0900
commit05d4c6f6289fdd9df7fd875ddf361af876419796 (patch)
treecd2ddcdf281ac7817ad8722df1434c4f2de400bd /tools/perf/scripts/python
parent19d61fd2509ee41784af13eac1c04fba30b2d487 (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