From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:06:54 +0000 (-0700) Subject: staging: comedi: ni_65xx: cleanup INSN_CONFIG_FILTER handling X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~709 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8405e40e841bda3aa4a261fbb278bb2fb031358c;p=pandora-kernel.git staging: comedi: ni_65xx: cleanup INSN_CONFIG_FILTER handling The INSN_CONFIG_FILTER instruction is used to set the deglitch filter interval used to debounce the input channels. Absorb the helper function into the (*insn_config) function and refactor the code to not require the 'filter_interval' and 'filter_enable' members in the private data. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed