From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:07:32 +0000 (-0700) Subject: staging: comedi: ni_labpc_common: use subdevice readback for 'caldac' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e3d3a4d1bba9b7de7f18212954740624cd0448e;p=pandora-kernel.git staging: comedi: ni_labpc_common: use subdevice readback for 'caldac' Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the write-only caldac subdevice. Remove the then unused 'caldac' member from the private data. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed