staging: comedi: fl512: remove subdevice pointer math
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:42:42 +0000 (18:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:06:27 +0000 (20:06 -0700)
commit6fc01d32a2b9e0ac2879e69b2d15caf4ad50c5f7
treee12bebda8a0d79e04b90fc1ad580c60d28531c48
parent1b39406b3ec9fb58e5577e7266562dd9a7816949
staging: comedi: fl512: 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/fl512.c