From: H Hartley Sweeten Date: Thu, 23 May 2013 20:05:19 +0000 (-0700) Subject: staging: comedi: usbduxsigma: tidy up usbdux_ai_insn_read() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~424 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5db3b755ccf6bf046b5b5fa1b94cee1cf609bd8;p=pandora-kernel.git staging: comedi: usbduxsigma: tidy up usbdux_ai_insn_read() Rename the function so it has namespace associated with the driver. Rename the local variable used for the private data pointer. Return -EBUSY if an asynchronous command is running and the read cannot be completed. Propagate the errno if the receive_dux_command() fails. Tidy up the function to make it more concise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed