From: H Hartley Sweeten Date: Tue, 30 Jul 2013 00:44:50 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_pwm_write() X-Git-Tag: v3.12-rc1~183^2~404 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c63f094a75820b85f7aecf6ee84439d610017c0;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_pwm_write() Remove the sanity check of the private data. This function can only be called if the private data was successfully allocated in the attach. Tidy up the function a bit. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed