staging: comedi: dt282x: fix IRQ assignment for dev->irq.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 6 Oct 2017 18:25:56 +0000 (23:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:45:48 +0000 (15:45 +0200)
commit526739265e5eb984f6f7114b17e63c5654ca1b93
treef5f6b31fc171bd1ffdd3a2517d759a7ec54d21b6
parent0cb7e343dec26a896d954419022c5ff1510d5aea
staging: comedi: dt282x: fix IRQ assignment for dev->irq.

Here, dev->irq is not assigned with irq. comedi_legacy_detach()
is using dev->irq for release irq and dt282x_attach() is using dev->irq
for initialize comedi_subdevice.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt282x.c