staging: comedi: hwdrv_apci3200: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:23:53 +0000 (18:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commitb272f8cb328c05c093eaa4cb007db9f04ba304c7
tree44d14ed7cee472e85b138c65db8ffd22e3d0b044
parentca0fceee36f6a52ecfe1feede1889b3719b62a16
staging: comedi: hwdrv_apci3200: remove subdevice pointer math

Convert the comedi_subdevice access from pointer math to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c