]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging: comedi: hwdrv_apci3501: remove "magic" numbers in apci3501_read_insn_timer()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Aug 2015 20:25:50 +0000 (13:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:36:18 +0000 (18:36 -0700)
commit1c38d03ea9b7b92f958ce6b3c2337413227bcb6b
tree60f4d7514df4fafa08b0d3b122decacb1292c2c6
parent0d5e03079de3332b9c3dbb5be24631502d0d676b
staging: comedi: hwdrv_apci3501: remove "magic" numbers in apci3501_read_insn_timer()

Use register bit defines from addi_tcw.h 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/addi-data/hwdrv_apci3501.c