]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: aio_aio12_8: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:28:42 +0000 (18:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commitef83beae680dc7eae41997c14af6ad7cdaac3175
tree1d05f24fe760b5fa3f1223ef76e6eae4d5cd62a2
parent9e006a70e92a582f61a346e09d2eaa0a55bfc831
staging: comedi: aio_aio12_8: 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/aio_aio12_8.c