summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-22 00:22:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-27 02:39:59 +0300
commitc8a14b924c15de655ae504f6a5cc2f698c2c4e13 (patch)
treef98d398164c9c763ced7ee0aef23d1723394e7e8 /include/uapi/linux
parent5317f9a6299cefbf8eadea7d8a0355c0ec9cc2b0 (diff)
downloadlinux-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/linux')
0 files changed, 0 insertions, 0 deletions