diff options
| author | 2013-05-14 14:32:42 -0700 | |
|---|---|---|
| committer | 2013-05-16 16:26:02 -0700 | |
| commit | 36c973d0896a5319cf3089c20e8d9881bc60297e (patch) | |
| tree | eb1b12d147510d6d685880c91a696635e2a989be /include/linux/debugobjects.h | |
| parent | staging: comedi: dt9812: convert digital in subdevice to (*insn_bits) (diff) | |
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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
