staging: comedi: pcl818: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:53:07 +0000 (18:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:30 +0000 (20:06 -0700)
commit9fab612335c0822e0e0a404fdd6d9222b3bfc800
treea843718c695c68ed7b3cbe047e07e7c7082ac061
parent9417de06e02b8d968d52e7d59e7f751d592e322e
staging: comedi: pcl818: 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/pcl818.c