staging: comedi: adl_pci8164: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:25:11 +0000 (18:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commitb23faec807c2f540b574f713e4a020b1cd8d54bd
tree0a9aa399e7c59f47bf94eaebff6d0acc8b0a0b0b
parent2bac8ab3c348856d701ce7fbbd87622ed400bc65
staging: comedi: adl_pci8164: 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_pci8164.c