]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: cb_pcidas64: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:32:04 +0000 (18:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:53 +0000 (20:03 -0700)
commite4eb9523efb89dc22f7db02df7495e89fac61416
tree230a869068e4ac48c937193b6beaadc5415acaa7
parente89c61b989229c194d532d4bc4fbe1a8bb55112e
staging: comedi: cb_pcidas64: 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/cb_pcidas64.c