From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:51 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: absorb apci3120_cyclic_ai() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaf802fb304ccbfc68c9699ae3a800a769c3d838;p=pandora-kernel.git staging: comedi: addi_apci_3120: absorb apci3120_cyclic_ai() This functon is called by apci3120_ai_cmd() with one additional parameter, 'mode', The 'mode' is based on the cmd->scan_begin_src. For aesthetics, absorb the function into apci3120_ai_cmd() and use the cmd->scan_begin_src directly to determine the 'mode'. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed