staging: comedi: ni_6527: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:47:06 +0000 (18:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:28 +0000 (20:06 -0700)
commit3d30dca5738c87bc4c61d9530893b122e6c6a89f
tree3df81decb57636e139d94e09d154c55db527d2e1
parent1b348f0594ec31b974cd8082dd5f1e4b5f3aa2db
staging: comedi: ni_6527: 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/ni_6527.c