staging: comedi: adl_pci7296: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:24:34 +0000 (18:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commit630b713b2730dfede5f7ebe3273fae82d8c51bc6
tree6f576b2d124f33b5131e32f981c677bcfef713f5
parent1f6115a4875f3192658e8b7f63e4197cc36aec78
staging: comedi: adl_pci7296: 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_pci7296.c