From: H Hartley Sweeten Date: Tue, 12 Aug 2014 18:17:23 +0000 (-0700) Subject: staging: comedi: amplc_dio200: remove dio200_common_detach() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb83abed7dd79ae1f0471c53144934efa57d7919;p=pandora-kernel.git staging: comedi: amplc_dio200: remove dio200_common_detach() 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed