From: H Hartley Sweeten Date: Thu, 25 Jul 2013 23:07:04 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_pwm_stop() X-Git-Tag: v3.12-rc1~183^2~509 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38f0683502a5c57dd39e4c65ec86cbe8e3975d5b;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_pwm_stop() For aesthetic reasons, pass the comedi_device pointer to this function instead of the private data pointer. Rename the local variable used for the private data pointer to the comedi "norm". Remove the unnecessary sanity check of the private data pointer. This function can only be called is the private data was allocated during the attach. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed