staging: comedi: aio_iiro_16: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:29:02 +0000 (18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commit40c4db8b6de1636e2bc9868c092fa0c3af398508
tree70d49b4f0e1f2a9ce51c5b7eabfe7f7c0bed41ec
parentef83beae680dc7eae41997c14af6ad7cdaac3175
staging: comedi: aio_iiro_16: 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/aio_iiro_16.c