From: H Hartley Sweeten Date: Fri, 21 Nov 2014 21:22:31 +0000 (-0700) Subject: staging: comedi: adv_pci1723: use comedi_subdevice readback for 'ao_data' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8a14b924c15de655ae504f6a5cc2f698c2c4e13;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed