commit | 1fdd0fc5fe28cd11ecf64e77892a1d9a1fd89fbf | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jun 18 13:25:47 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 15:51:04 2013 -0700 |
tree | a36a21eb6305fefd410830cc195ddaf70fea5743 | |
parent | 89aaa92adffa5c57d9c2a545c7cb9809ddd3b615 [diff] |
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>