From: H Hartley Sweeten Date: Tue, 18 Jun 2013 20:25:47 +0000 (-0700) Subject: staging: comedi: pcmuio: cleanup DIO subdevice (*insn_{bits,config}) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fdd0fc5fe28cd11ecf64e77892a1d9a1fd89fbf;p=pandora-kernel.git staging: comedi: pcmuio: cleanup DIO subdevice (*insn_{bits,config}) Use the pcmuio_{read,write}() helpers to read/write all 24 channels instead of handling the digital I/O as three separate ports. This simplifies both functions with minimal overhead. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed