From: H Hartley Sweeten Date: Wed, 24 Jul 2013 21:13:34 +0000 (-0700) Subject: staging: comedi: usbdux: tidy up usbduxsub_submit_pwm_urbs() X-Git-Tag: v3.12-rc1~183^2~579 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a80fa0429b7b6e3b32813614178d4be302f5ea0;p=pandora-kernel.git staging: comedi: usbdux: tidy up usbduxsub_submit_pwm_urbs() Pass the comedi_device pointer (the urb context) to this function instead of the private data pointer. Use a local variable for the urb pointer that is setup and submitted. Remove the sanity check of the private data. This function can only get called if the allocation was successful during the attach. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed