From: H Hartley Sweeten Date: Tue, 9 Apr 2013 01:21:23 +0000 (-0700) Subject: staging: comedi: rti800: change return of rti800_ai_insn_read() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0181ae77e383ca86bc5182f816c09de2bc38c2d2;p=pandora-kernel.git staging: comedi: rti800: change return of rti800_ai_insn_read() The comedi core expects the (*insn_read) functions to return the number of data values actually read. Change the return from 'i' to 'insn->n' to make this clearer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed