]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: hwdrv_apci1564: remove magic number in apci1564_timer_insn_read()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 7 Aug 2015 18:45:10 +0000 (11:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:34:57 +0000 (18:34 -0700)
commit18543b13fc99f0e90aead12ca9fc64145341278c
tree72cd3157ca485c87d08af846142356edc9d30a5b
parent9a2d58c7f87bb5a92b4be9fd61af77baa2c832ba
staging: comedi: hwdrv_apci1564: remove magic number in apci1564_timer_insn_read()

Use the bit define from addi_tcw.h to remove the magic number.

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/addi-data/hwdrv_apci1564.c