staging: comedi: das16m1: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:36:03 +0000 (18:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:54 +0000 (20:03 -0700)
commit9b7beb661377e4bc8e6fdd02342d94caf51491cd
tree3d73e4b69fbed91fba901ba3a3c101a5dcb6af0c
parent35d10629f19570cd0d9e7b4485f027f300a12d33
staging: comedi: das16m1: 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/das16m1.c