commit | a1c76758987eac334a7dffcb0b50e597da4ded77 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Nov 20 15:07:27 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:39:16 2014 -0800 |
tree | aecf8d6e5f3924c8043ff6af4dbb44187a78bb60 | |
parent | 7a82a2c4e4aa0cdace951cf35c266d02fb96039f [diff] |
staging: comedi: cb_pcidas: use subdevice readback for 'trimpot_value' Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the write-only trimpot calib subdevice. Remove the then unused 'trimpot_value' 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>