From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:23:46 +0000 (-0700) Subject: staging: comedi: ni_mio_common: remove INSN_CONFIG_ANALOG_TRIG support code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~686 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab15dce7e963c115cc063643cd6f50c55b606268;p=pandora-kernel.git staging: comedi: ni_mio_common: remove INSN_CONFIG_ANALOG_TRIG support code None of the boardinfo that uses this code sets the 'has_analog_trig' flag so ni_ai_config_analog_trig() always returns -EINVAL. Also, the private data 'atrig_low', 'atrig_high', and 'atrig_mode' values that are set by ni_ai_config_analog_trig() are never used. Remove the incomplete INSN_CONFIG_ANALOG_TRIG support along with the unused boardinfo and private data members. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed