From: H Hartley Sweeten Date: Fri, 20 Jun 2014 20:12:50 +0000 (-0700) Subject: staging: comedi: dt282x: fix dt282x_ao_insn_read() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1535 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9504be8a1b84d5139f7475c0e705bc0630e82dc9;p=pandora-kernel.git staging: comedi: dt282x: fix dt282x_ao_insn_read() The comedi core expects the (*insn_read) functions to return 'insn->n' samples. Fix this function to work like the core expects. For aesthetics, rename the private data 'ao' member to clarify its use. Also, remove the unnecessary comment. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed