staging: comedi: hwdrv_apci3120: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:23:32 +0000 (18:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:35 +0000 (20:01 -0700)
commitca0fceee36f6a52ecfe1feede1889b3719b62a16
tree98b32487792701637bd09e374fe9f13205ccb149
parent49433746020e88d15407131bc81a545671622504
staging: comedi: hwdrv_apci3120: 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_apci3120.c