From: H Hartley Sweeten Date: Mon, 25 Aug 2014 23:04:37 +0000 (-0700) Subject: staging: comedi: das08: use comedi_subdevice 'readback' X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1015 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2dfc3a5a295331b76919adfa9ecd4d5aea250a1;p=pandora-kernel.git staging: comedi: das08: 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. The das08_ao_initialize() function is only called when the subdevice is first setup during the attach. It is used to initialize the channels to a known state. Absorb that function to simplify the code a bit. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed