staging: comedi: comedi_parport: use dev->read_subdev in interrupt handler
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 30 Aug 2013 18:48:44 +0000 (11:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:43 +0000 (07:47 -0700)
commitb3860bff98c4ca988b31636bee4dc906f837001d
tree0a7cc403c8d5ece0973a38fbd1ae57bf86e2c4f7
parentefc6da4daf054b982c0a28e9fc3a1eaf6754bece
staging: comedi: comedi_parport: use dev->read_subdev in interrupt handler

Use the dev->read_subdev to get the comedi_subdevice 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>
drivers/staging/comedi/drivers/comedi_parport.c