]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: adl_pci7x3x: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:24:52 +0000 (18:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:36 +0000 (20:01 -0700)
commit2bac8ab3c348856d701ce7fbbd87622ed400bc65
tree966b9e378ecdaca978e717bcb7ae5c8868ef8146
parent630b713b2730dfede5f7ebe3273fae82d8c51bc6
staging: comedi: adl_pci7x3x: 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/adl_pci7x3x.c