staging: comedi: icp_multi: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:43:46 +0000 (18:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:27 +0000 (20:06 -0700)
commit27f7f1002faae4034f86dd9d28ff8ecb4b8926ed
treec226a3c8aaedde7e52308f9add14c48b6eac7ae3
parent2de13f1bac495eb354a442963dfc1eb5e7d5b134
staging: comedi: icp_multi: 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/icp_multi.c