commit | 03afcf472785a63d720202d28d51852d965a95d9 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Jun 12 11:59:55 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 12 14:44:04 2012 -0700 |
tree | 738ae55c58b03a51749756ad0596b0666891b691 | |
parent | 8b6c56949ffa83dbc2a6e8fa3f98b10a19372207 [diff] |
staging: comedi: cleanup comedi_alloc_subdevices Access the individual comedi_subdevices using a pointer instead of directly accessing as an array. This is how the rest of the comedi core accesses them. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbott@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>