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