staging: comedi: pcm3730: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:53:42 +0000 (18:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:30 +0000 (20:06 -0700)
commitedb9dac794678286c171583aacc673cf60a9dbc0
treef1f261630e57d7a3da8fdb39322508765cdffcdc
parent0a96639fe702a06ca428323a0cfcf7cabc26f6c7
staging: comedi: pcm3730: 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/pcm3730.c