From: H Hartley Sweeten Date: Thu, 23 May 2013 19:40:45 +0000 (-0700) Subject: staging: comedi: usbduxsigma: change return type of the stop functions X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~482 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d4c6f6289fdd9df7fd875ddf361af876419796;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed