staging: comedi: amplc_pc236: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:29:45 +0000 (18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commit39d37be4113f8c423ab2a3a7af37cd50c802d779
tree823aa3abe857842849eec1710bec9c14aea26d15
parent6b680f90c3300505a62e456b3c0e56de358f5d9a
staging: comedi: amplc_pc236: 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_pc236.c