staging: comedi: acl7225b: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:22:25 +0000 (18:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:35 +0000 (20:01 -0700)
commit6e269d7cac312ebb1efc1adaf20e4a92abe24978
treee98ae54765bf6f78ed13b6545801c77732ecd312
parent5101b4d1877396d9b1ce5a6a6e91bb302289bf89
staging: comedi: acl7225b: 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/acl7225b.c