From: H Hartley Sweeten Date: Wed, 23 Apr 2014 23:06:59 +0000 (-0700) Subject: staging: comedi: adv_pci1710: absorb pci171x_ai_docmd_and_mode() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1289 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec2f4efb1d8bbe072b6918da3afdcfdf8259492;p=pandora-kernel.git staging: comedi: adv_pci1710: absorb pci171x_ai_docmd_and_mode() This helper function is called by the ai (*do_cmd) to setup and start the async command based on the "mode" of operation. This "mode" is determined by the cmd convert_src and start_src. Move this "mode" determination and combine the functions. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed