]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: mpc8260cpm: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:46:26 +0000 (18:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:28 +0000 (20:06 -0700)
commite49b26e779cce2a5e73b7433d9edcbd157f5a470
tree3cb087b873d7bfccdf5e73a6c420fe7797f97924
parent283fd0b2ac1de771255bdeb8749440d7488219a0
staging: comedi: mpc8260cpm: 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/mpc8260cpm.c