'\" t .\" Title: free_irq .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "FREE_IRQ" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" free_irq \- free an interrupt allocated with request_irq .SH "SYNOPSIS" .HP \w'void\ free_irq('u .BI "void free_irq(unsigned\ int\ " "irq" ", void\ *\ " "dev_id" ");" .SH "ARGUMENTS" .PP \fIirq\fR .RS 4 Interrupt line to free .RE .PP \fIdev_id\fR .RS 4 Device identity to free .RE .SH "DESCRIPTION" .PP Remove an interrupt handler\&. The handler is removed and if the interrupt line is no longer in use by any driver it is disabled\&. On a shared IRQ the caller must ensure the interrupt is disabled on the card it drives before calling this function\&. The function does not return until any executing interrupts for this IRQ have completed\&. .PP This function must not be called from interrupt context\&. .SH "COPYRIGHT" .br