staging: comedi: dt3000: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:41:29 +0000 (18:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:26 +0000 (20:06 -0700)
commit9263cd67b95e289e8fb48731eabee15e2b559103
tree57fdae9b7eaf70d23eab011b45069c184bd96d0c
parente1d7cf9c9dd7e08390d836e9f9c8b4851c0b1df0
staging: comedi: dt3000: 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/dt3000.c