pci_free_irq — free an interrupt allocated with pci_request_irq
void pci_free_irq ( | struct pci_dev * dev, |
| unsigned int nr, | |
void * dev_id); |
devPCI device to operate on
nrdevice-relative interrupt vector index (0-based).
dev_idDevice identity to free
Remove an interrupt handler. The handler is removed and if the interrupt line is no longer in use by any driver it is disabled. The caller must ensure the interrupt is disabled on the device before calling this function. The function does not return until any executing interrupts for this IRQ have completed.
This function must not be called from interrupt context.