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