commit | 89d483850f4c378ec15e4b1eafcbc2ae845fc67e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Dec 05 13:43:30 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Dec 06 13:07:16 2013 -0800 |
tree | 8837a4e8f5f94410cf63818e5782de1b6acc4739 | |
parent | 66d10158e03d4bad0520c13b953c63ff7a4bd741 [diff] |
staging: comedi: dt2814: 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>