]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_6527: factor out the code that sets the filter interval
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 1 Oct 2013 22:09:42 +0000 (15:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 21:09:52 +0000 (14:09 -0700)
commita4db399e0ad4c32ad1b33ebb9a4a065f05f13994
tree3c35bb69179e928c55a3e10db199c0fe66da2579
parented245ecb7ecc1261630b27b97c7a3c2a58f8ce3b
staging: comedi: ni_6527: factor out the code that sets the filter interval

To clarify the digital input subdevice (*insn_config) a bit, factor out the
code that sets the filter interval for deglitching the digital inputs.

Also, rename the CamelCase define used for the filter interval registers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_6527.c