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