commit | 38020b55e7ced8398378b9023e41e9e1470b64cc | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Nov 20 15:10:45 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:36:40 2014 -0800 |
tree | e3c57b27480097e7c9237cdfab0a0b4abfd90483 | |
parent | 388674e0a92f2bf4ce6ddd3758b0cef906b55ce4 [diff] |
staging: comedi: adv_pci1724: use subdevice readback for 'offset_value' Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the write-only offset calib subdevice. Remove the then unused 'offset_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>