H Hartley Sweeten abafc9e851 staging: comedi: s626: cleanup "subdevice" and "cmd" in s626_irq_handler()
The comedi_subdevice in this function is actually the dev->read_subdev
that was initialized during the attach of the board. Use that instead
of accessing the dev->subdevices array directly.

Also, get the comedi_cmd used in s626_irq_handler() when the function
is first entered.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-25 11:44:43 -07:00
..
2013-03-12 20:25:53 -07:00
2013-03-12 20:28:45 -07:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-12 10:21:38 -07:00
2013-03-01 13:39:00 -08:00
2013-03-05 17:22:08 -08:00
2013-02-28 20:00:40 -08:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:18 -08:00
2013-02-28 09:37:12 +01:00
2013-03-13 15:02:02 -07:00
2013-02-27 19:10:19 -08:00
2013-03-13 15:03:48 -07:00
2013-02-27 19:10:19 -08:00
2013-03-12 20:25:53 -07:00