commit | 8f494fe626b4733f407a6db62963f594cc8dbcf8 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Sep 20 16:39:15 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 25 15:59:58 2013 -0700 |
tree | 859b4994d3a550862fe07aaa3a933c1adaf7a205 | |
parent | 8f394ee163f18d54abb7e47bf0f6f43ab59489d6 [diff] |
staging: comedi: pcl711: use dev->read_subdev in interrupt handler The comedi_subdevice used in the interrupt handler is the dev->read_subdev that was initialized during the attach of the board. 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>