]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pc236: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:29:45 +0000 (18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commit2c5464609d4c4a85f6d10611300af92fd042a7d7
tree823aa3abe857842849eec1710bec9c14aea26d15
parent10f0ed83c4056a45bf80f0cb1f084405c02a06ce
staging: comedi: amplc_pc236: 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_pc236.c