]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci230: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:30:47 +0000 (18:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:03:53 +0000 (20:03 -0700)
commit6707478a468c980a857a319695b43a2c0b384004
treec595785037852176f8e9665851c77b983ff27af3
parente67e588af5a7d0460f1f6bdc0dac8ae9855869a9
staging: comedi: amplc_pci230: 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/amplc_pci230.c