commit | f8990d088c226b58c26a918c7de03006a3b1ab3c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Nov 20 15:07:30 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:39:17 2014 -0800 |
tree | abe1a37ce30332c12eb5d415ba83217116b8692e | |
parent | e42151f945f7b45e6a1634fc3b665b36f5e42a03 [diff] |
staging: comedi: ni_at_ao: use subdevice readback for 'caldac' Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the write-only caldac subdevice. Remove the then unused 'caldac' member from the private data. Tidy up atao_calib_insn_write(). 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>