On 26/08/14 01:55, H Hartley Sweeten wrote:
Introduce a new helper function, comedi_pci_detach(), that can be used
as the (*detach) of a comedi PCI driver to handle the boilerplate code
of the PCI driver detach.

Use the the new helper to remove the boilerplate from most of the comedi
PCI drivers.

Some of the drivers need additional cleanup before comedi_pci_disable()
can be removed.

This series was orignally posted as a single patch:
[PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

Ian Abbott pointed out a couple issues and race conditions in that
patch. This breaks the patch up and drops the patches that had race
issues.

v1: original single patch
v2: split patch and addressed issues pointed out by Ian Abbott
v3: drop patches with race conditions

H Hartley Sweeten (7):
   staging: comedi: comedi_pci: introduce comedi_pci_detach()
   staging: comedi: adv_pci_dio: remove 'valid' member from private data
   staging: comedi: icp_multi: remove 'valid' member from private data
   staging: comedi: s626: tidy up freeing of the dma buffers
   staging: comedi: s626: use comedi_pci_detach()
   staging: comedi: cb_pcidas64: tidy up freeing of the dma buffers
   staging: comedi: gsc_hpdi: tidy up freeing of the dma buffers

Reviewed-by:Ian Abbott <abbo...@mev.co.uk>

--
-=( 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

Reply via email to