staging: comedi: adv_pci1723: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:27:15 +0000 (18:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commitdd25ab4546631fd806ca1ef2f595d54f6c49a8dc
tree067ea46932c13f6b10ce5320e8e7b6fd2922ef11
parent5c60f867b1381f53e5d84a1c02a13b6f546cde0b
staging: comedi: adv_pci1723: 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/adv_pci1723.c