]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: ni_6527: tidy up ni6527_{di, do}_insn_bits()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 1 Oct 2013 22:11:00 +0000 (15:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 21:09:53 +0000 (14:09 -0700)
commit33b73a35a25152aea0a5df78f2bddcfde3115180
tree60c783316c1e76c75c3eaba9936296cc3d3b1bd2
parentc6d9681b40e6dde9f8cbd922efff1f4d5433adc6
staging: comedi: ni_6527: tidy up ni6527_{di, do}_insn_bits()

The digital input and output ports are different. Split the CamelCase
Port_Register() define into separate NI6527_DI_REG() and NI6527_DO_REG()
defines to make this clear.

Tidy up the functions a bit.

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