staging: comedi: s626: use comedi_pci_detach()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Aug 2014 00:55:52 +0000 (17:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:26:29 +0000 (13:26 -0700)
commit8075bfb67566376f706baa7cbc6b5b0e3eb99318
tree95dfa5af63eaba8c4a768b85cd27bd15819f6c0e
parent3757e79559534e722df93e184078a141dc0bcfa7
staging: comedi: s626: use comedi_pci_detach()

Use comedi_pci_detach() to handle the boilerplate part of the (*detach)
for this PCI driver.

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/s626.c