commit | 87fe6ebdfcc7485e4935c3f93909bbea5e7ccb7e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Oct 01 15:11:21 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 03 14:09:53 2013 -0700 |
tree | 40f2f86e7adb61c685384321b07679834a01e8d2 | |
parent | 33b73a35a25152aea0a5df78f2bddcfde3115180 [diff] |
staging: comedi: ni_6527: use dev->read_subdev in interrupt handler The comedi_subdevice in the interrupt handler is the dev->read_subdev that was initialized during the attach. Use that 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>