From: H Hartley Sweeten Date: Wed, 27 Jun 2012 01:01:05 +0000 (-0700) Subject: staging: comedi: cb_pcidas: cleanup ai_config_insn() X-Git-Tag: v3.6-rc1~100^2~491 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c34b2fc6ccc36f171633fa86b3d59a36792c25;p=pandora-kernel.git staging: comedi: cb_pcidas: cleanup ai_config_insn() Absorb the helper function ai_config_calibration_source() into ai_config_insn() and remove the static const variable that was in the helper function. Return an error code (-EINVAL) when appropriate and the number of data values used (insn->n) for success. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed