]> Pileus Git - ~andy/linux/commit
staging: comedi: s626: remove subdevice pointer math
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Mar 2013 22:43:51 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 23:12:56 +0000 (16:12 -0700)
commitf0717f5dea01128abbcc158063050821802d31d9
tree9a3b6063bbc12d099c398744b8309e3d4680ce7d
parent1515e5222658efa29523a5c794827303113246dd
staging: comedi: s626: remove subdevice pointer math

Convert the comedi_subdevice access from pointer match to array
access.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c