]> Pileus Git - ~andy/linux/commit
staging: comedi: usbduxfast: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:58:32 +0000 (18:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:32 +0000 (20:06 -0700)
commitbbea99d9c7221f69cadb4fd764f2a65e6292c756
tree4360587f6239ce6dd4c32f8902509b56b30bce2f
parent4760904fb4a2841c9ac651e36610724929122385
staging: comedi: usbduxfast: 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/usbduxfast.c