staging: comedi: amplc_pci230: set detach handler to comedi_pci_detach()
authorIan Abbott <abbotti@mev.co.uk>
Mon, 1 Sep 2014 11:03:39 +0000 (12:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 18:21:31 +0000 (11:21 -0700)
commit5668ddf083fd7db5b904fc8332f4b28748fe5eed
treec1f56a6cea7f21dc17b17c5fffe7089d9d216499
parent228df3c99b511ec563dbbd3c7385a3ed83201dd5
staging: comedi: amplc_pci230: set detach handler to comedi_pci_detach()

Since the comedi driver's "detach`" handler `pci230_detach()` now merely
calls `comedi_pci_detach()` with the same parameter, use
`comedi_pci_detach()` itself as the "detach" handler.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c