staging: comedi: vmk80xx: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:59:09 +0000 (18:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:32 +0000 (20:06 -0700)
commitd3d1e2532f33b49515bf9ea9e2b4cc1dbb1d47c9
tree32fc94ccda7c85f386a5d0f36eb88631e4cbedc0
parentae4498216be8ed2ecd1508a72458a01e6976185a
staging: comedi: vmk80xx: 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/vmk80xx.c