]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: hwdrv_apci3501: remove "magic" numbers in apci3501_config_insn_timer()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Aug 2015 20:25:48 +0000 (13:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:36:18 +0000 (18:36 -0700)
commit7dc68e350460c4c1620f79f23be70739845994ff
tree5e74f796511a3a1c9a920e3f1890ea15288a6e81
parent020e05e74d49fc4c5cecee1b779247ec8a243b1f
staging: comedi: hwdrv_apci3501: remove "magic" numbers in apci3501_config_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