staging: comedi: adl_pci9111: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:25:55 +0000 (18:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commit573e31af7cb709dad96bb8d9dd7140d3b2f57071
tree63eed54a185ecbfa61502f34f7c454bf76d94083
parentd1d7b20def05f0278033c9b12d319b6fd735f7b8
staging: comedi: adl_pci9111: 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_pci9111.c