staging: comedi: das800: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:38:30 +0000 (18:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:55 +0000 (20:03 -0700)
commitf20dce3848c8335dc80600093ce5c22ddadc2b93
tree1e939b3ceb9669e0b949ad2e719a634a69be78fb
parent77d2f7c24725e3caa82492dd3d1cbd466b8a0abf
staging: comedi: das800: 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/das800.c