staging: comedi: c6xdigio: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:31:08 +0000 (18:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:53 +0000 (20:03 -0700)
commit0c2d3aacfe04425a3b95d92d1a0c2fbfec6c14ba
tree9351419f6b4c7b3996d37c28d9b68227b3fddeaf
parent5bf4a7a7081204eca004e04b0da726513f49142c
staging: comedi: c6xdigio: 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/c6xdigio.c