aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-23 12:40:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-30 20:40:39 +0900
commit05d4c6f6289fdd9df7fd875ddf361af876419796 (patch)
treecd2ddcdf281ac7817ad8722df1434c4f2de400bd /scripts/patch-kernel
parentstaging: comedi: usbduxsigma: cleanup the stop functions (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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions