staging: comedi: pcl725: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:51:38 +0000 (18:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:29 +0000 (20:06 -0700)
commit7d780555c03e052756b97ff6625dceb03e8575d8
tree7554ac3798b5ff5c5075beb3f5834e6407b24479
parentd533ef070d0af7816616499fc4bf0eb36dfd63a6
staging: comedi: pcl725: 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/pcl725.c