]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: 8255: use pointer to dev->subdevices
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 13 Jun 2012 22:41:27 +0000 (15:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:19:08 +0000 (17:19 -0700)
commite40e8375c0eb546b66c5e66f5e10b68ec46f7b95
treeec8860e9d2f37931c7cc2ef9e5897da9df591463
parent01bd3e3fc9f9fa62c6c86a32c9f60b4501b96b3d
staging: comedi: 8255: use pointer to dev->subdevices

Instead of accessing the dev->subdevices directly as an array,
use a pointer. This method is more common in the comedi subsystem.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255.c