staging: comedi: adv_pci1710: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:26:55 +0000 (18:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commit5c60f867b1381f53e5d84a1c02a13b6f546cde0b
treed2785905ccc9459105f62153725007945fc6b7af
parent4fe92e16060e24dcf84730307e925e3b1a4302cd
staging: comedi: adv_pci1710: 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_pci1710.c