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