staging: comedi: quatech_daqp_cs: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:55:46 +0000 (18:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:31 +0000 (20:06 -0700)
commit123c0e03a49986fbe63509f7511484f929eb1a42
tree6201e3248649e40b19c6fbb8af8b18d829b1d405
parenteb31b63a76b0cd4e0aafa3dcc338dbb16698d4de
staging: comedi: quatech_daqp_cs: 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/quatech_daqp_cs.c