From: H Hartley Sweeten Date: Thu, 23 May 2013 20:04:31 +0000 (-0700) Subject: staging: comedi: usbduxsigma: tidy up analog output (*insn_{read, write}) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~426 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd87acb1a38a317320be75ca49f53491fa6f577;p=pandora-kernel.git staging: comedi: usbduxsigma: tidy up analog output (*insn_{read, write}) Rename the functions so they have namespace associated with the driver. Rename the local variable used for the private data pointer. Return -EBUSY from the (*insn_write) function if an asynchronous command is running that the write cannot be completed. Don't save the cached value of the analog output for readback unless the command to set it is successful. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed