]> Pileus Git - ~andy/linux/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)
commit054fd2f647ff040fd4a00d82f9df6771055a3136
tree3c35bb69179e928c55a3e10db199c0fe66da2579
parent94ff05bc3f06e920971dbad8c274868b71c24a71
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