Staging: comedi: addi-data: tidy up digital output register map defines in hwdrv_apci...
authorChase Southwood <chase.southwood@yahoo.com>
Fri, 7 Mar 2014 08:37:17 +0000 (02:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 01:28:53 +0000 (17:28 -0800)
commit48cf60d1645140ab07f5272ca89a0bd8130f8365
tree87a6de2f527d8b9f53c3c6b9eba7c0beae29c9d8
parent7df867327d742eba1d53303171521d5dcd330ecc
Staging: comedi: addi-data: tidy up digital output register map defines in hwdrv_apci1564.c

This patch fixes the register map defines for the digital output registers
such that they are all the real offsets to each register, rather than a
mix of real offsets and adders to those offsets.

Further, some of the old defines were being used incorrectly in the
i_APCI1564_Reset() function.  Upon swapping the old defines out for the
new ones in this function, their use has been corrected.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c