diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-11-22 00:22:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-27 02:39:59 +0300 |
| commit | c8a14b924c15de655ae504f6a5cc2f698c2c4e13 (patch) | |
| tree | f98d398164c9c763ced7ee0aef23d1723394e7e8 /include/uapi | |
| parent | 5317f9a6299cefbf8eadea7d8a0355c0ec9cc2b0 (diff) | |
| download | linux-c8a14b924c15de655ae504f6a5cc2f698c2c4e13.tar.xz | |
staging: comedi: adv_pci1723: use comedi_subdevice readback for 'ao_data'
Use the comedi_subdevice 'readback' member and the core provided (*insn_read)
to handle the readback of the write-only analog output subdevice. Remove the
then unused 'ao_data' member from the private data.
The private data is now unnecessary. Remove it and the allocation.
For aesthetics, rename the (*insn_write) function and tidy it up a bit.
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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
