From: H Hartley Sweeten Date: Tue, 30 Jul 2013 00:44:32 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbdux_pwm_pattern() X-Git-Tag: v3.12-rc1~183^2~405 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b2dc08b72a80009887a0e0b80d63fdaa1f2a8a9;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbdux_pwm_pattern() Rename the local variable used for the private data pointer to 'devpriv'. 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 to make it more concise. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed