From: H Hartley Sweeten Date: Tue, 14 May 2013 21:32:42 +0000 (-0700) Subject: staging: comedi: dt9812: convert digital out subdevice to (*insn_bits) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~612 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c973d0896a5319cf3089c20e8d9881bc60297e;p=pandora-kernel.git staging: comedi: dt9812: convert digital out subdevice to (*insn_bits) Currently the (*insn_write) function for the digital output subdevice only sets the state for a single channel. It's more efficent to use the (*insn_bits) function and allow setting the state for all the channels. The comedi core can use the (*insn_bits) to emulate the (*insn_write) if needed. Also, use the subdevice 'state' variable to hold the current state of the channels instead of 'do_shadow' in the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed