]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adv_pci1723: tidy up pci1723_dio_insn_config()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 21 Nov 2014 21:22:32 +0000 (14:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:40:00 +0000 (15:40 -0800)
commita445fc57376d38ce6cbe1b2e6cd7c004fcae0808
tree9be6fc445f23beb0adce455f8e1949337615746a
parentc65209d6c678fd385ad3ef3d553728761b0010bd
staging: comedi: adv_pci1723: tidy up pci1723_dio_insn_config()

For aesthetics, tidy this function up and use the register defines
to remove the magic numbers.

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/adv_pci1723.c