From: H Hartley Sweeten Date: Fri, 17 Aug 2012 02:54:32 +0000 (-0700) Subject: staging: comedi: cb_pcimdda: cleanup the analog out read/write X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~868 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee815b53bca1cfa092ecd742fc59512b8030336;p=pandora-kernel.git staging: comedi: cb_pcimdda: cleanup the analog out read/write Use the register map define to work out the i/o address. Cleanup the comments about the simultaneous transfer mode for the analog outputs. Change the return to 'insn->n', the comedi core expects the return to be the number of data elements used. Technically the 'i' value is correct but 'insn->n' just makes it clearer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed