On 2014-08-12 19:17, H Hartley Sweeten wrote:
This exported function just does a free_irq() to release the interrupt
handler for the legacy and PCI dio200 drivers.
The legacy driver also calls comedi_legacy_detach() which would also
do the free_irq(). For that driver the just use comedi_legacy_detach()
directly for the (*detach).
For the PCI driver, add the free_irq() to the private (*datach) function.
Remove the, then unused, dio200_common_detach() function.
Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
drivers/staging/comedi/drivers/amplc_dio200.c | 8 +-------
drivers/staging/comedi/drivers/amplc_dio200.h | 2 --
drivers/staging/comedi/drivers/amplc_dio200_common.c | 9 ---------
drivers/staging/comedi/drivers/amplc_dio200_pci.c | 3 ++-
4 files changed, 3 insertions(+), 19 deletions(-)
Reviewed-by: Ian Abbott <abbo...@mev.co.uk>
(Other patches in the series already reviewed by me in previous iteration.)
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbo...@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel