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