staging: comedi: amplc_pci224: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:30:28 +0000 (18:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:52 +0000 (20:03 -0700)
commite11c07fe386c4aff703ac87c9ec990acdfe12e39
tree4cb7550f1368a7acd2ada4967602dbdb9eadbd89
parentd8029dcf1be06797d75ff53100bf45949d4a2767
staging: comedi: amplc_pci224: 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/amplc_pci224.c