staging: comedi: amplc_pc263: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:30:08 +0000 (18:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:52 +0000 (20:03 -0700)
commitd8029dcf1be06797d75ff53100bf45949d4a2767
tree7d7b2424f5276730fa1ef1a496b3adc91a2c1e2d
parent39d37be4113f8c423ab2a3a7af37cd50c802d779
staging: comedi: amplc_pc263: 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_pc263.c