staging: comedi: cb_pcimdda: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:33:19 +0000 (18:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:53 +0000 (20:03 -0700)
commit6807d64d21e0721e9ff8b57c62824f9bcce31a63
tree4d9436e574a1c835cbf7d202084b3a6c1cbb3c2c
parent13201d88114f485ee6f9e66b81eeb436323089d0
staging: comedi: cb_pcimdda: 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/cb_pcimdda.c