From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:07:21 +0000 (-0700) Subject: staging: comedi: cb_pcidas64: use subdevice readback for 'ad8402_state' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1184e49a8a4d9a32eef0d5e166dd9eec76b565;p=pandora-kernel.git staging: comedi: cb_pcidas64: use subdevice readback for 'ad8402_state' Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the write-only calibration subdevice. Remove the then unused 'ad8402_state' 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