From: H Hartley Sweeten Date: Mon, 25 Aug 2014 23:03:57 +0000 (-0700) Subject: staging: comedi: aio_aio12_8: use comedi_subdevice 'readback' X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1055 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac581336a6ddd781d92e03e6d4f2c17cbac021a;p=pandora-kernel.git staging: comedi: aio_aio12_8: use comedi_subdevice 'readback' Use the new comedi_subdevice 'readback' member and the core provided (*insn_read) for the readback of the analog output subdevice channels. Remove the unused private data and its allocation. For aesthetics, rename the (*insn_write) function and tidy it up. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed