From 05d4c6f6289fdd9df7fd875ddf361af876419796 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 23 May 2013 12:40:45 -0700 Subject: [PATCH] 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-format-patch failed