/** * comedi_pcmcia_auto_unconfig() - Unconfigure/remove a comedi PCMCIA driver. * @link: pcmcia_device struct * * Typically called from the pcmcia_driver (*remove) function. */ void comedi_pcmcia_auto_unconfig(struct pcmcia_device *link) { comedi_auto_unconfig(&link->dev); }
/** * comedi_pci_auto_unconfig() - Unconfigure/remove a PCI COMEDI device * @pcidev: PCI device. * * Typically called from the pci_driver (*remove) function. Auto-unconfigure * a COMEDI device attached to this PCI device, using a pointer to the * &struct device embedded in *@pcidev as the hardware device. The COMEDI * driver's "detach" handler will be called during unconfiguration of the * COMEDI device. * * Note that the COMEDI device may have already been unconfigured using the * %COMEDI_DEVCONFIG ioctl, in which case this attempt to unconfigure it * again should be ignored. */ void comedi_pci_auto_unconfig(struct pci_dev *pcidev) { comedi_auto_unconfig(&pcidev->dev); }
/** * comedi_pci_auto_unconfig() - Unconfigure/disconnect a comedi USB driver. * @intf: usb_interface struct * * Typically called from the usb_driver (*disconnect) function. */ void comedi_usb_auto_unconfig(struct usb_interface *intf) { comedi_auto_unconfig(&intf->dev); }