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