commit | b3403f2e5e4b860bc26e2a5556a5a2d201c752e2 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Dec 05 13:43:22 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Dec 06 13:07:15 2013 -0800 |
tree | e9174ef5b5d326d927c1e7a89643ab6c1dbff50c | |
parent | 6cb8e1a27ad7a966ba2cce1b968404b590943105 [diff] |
staging: comedi: me4000: use dev->read_subdev Use the dev->read_subdev that was setup in the device attach instead of accessing the dev->subdevices array directly. 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>