commit | 1f0e7161888a4852ef529d7def6ef1700a9f93e4 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Dec 05 13:43:36 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Dec 06 13:07:16 2013 -0800 |
tree | fd13b6504bcc644352d7f11b52a3d1230cef0eb8 | |
parent | 67fb892cc14aa3159aa68cbda2bd6cc30e2e7fd8 [diff] |
staging: comedi: adv_pci1710: 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>