staging: comedi: adl_pci6208: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:24:13 +0000 (18:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commit1f6115a4875f3192658e8b7f63e4197cc36aec78
treefad1e66c11b2b683c1b9193edd1344377cd939f1
parentb272f8cb328c05c093eaa4cb007db9f04ba304c7
staging: comedi: adl_pci6208: 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/adl_pci6208.c