commit | 1e3d3a4d1bba9b7de7f18212954740624cd0448e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Nov 20 15:07:32 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:39:17 2014 -0800 |
tree | f6b8bf31269e6c287fbf8e1fd85d2fe706334ed3 | |
parent | 332f46e4be24f252fdc719abd52f3ac711c0aab4 [diff] |
staging: comedi: ni_labpc_common: 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. 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>