staging: comedi: adv_pci_dio: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:27:36 +0000 (18:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commit2b36ab6c6f6931509b0445e8e229162ef004c61e
treef4c24c5bb179f8ab3ded56a8bc67bd4b41741a95
parentdd25ab4546631fd806ca1ef2f595d54f6c49a8dc
staging: comedi: adv_pci_dio: 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/adv_pci_dio.c
This page took 0.025377 seconds and 5 git commands to generate.