'\" t .\" Title: parport_unregister_driver .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Parallel Port Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PARPORT_UNREGISTER_D" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Parallel Port Devices" .\" ----------------------------------------------------------------- .\" * 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" parport_unregister_driver \- deregister a parallel port device driver .SH "SYNOPSIS" .HP \w'void\ parport_unregister_driver('u .BI "void parport_unregister_driver(struct\ parport_driver\ *\ " "drv" ");" .SH "ARGUMENTS" .PP \fIdrv\fR .RS 4 structure describing the driver that was given to \fBparport_register_driver\fR .RE .SH "DESCRIPTION" .PP This should be called by a parallel port device driver that has registered itself using \fBparport_register_driver\fR when it is about to be unloaded\&. .PP When it returns, the driver\*(Aqs \fBattach\fR routine will no longer be called, and for each port that \fBattach\fR was called for, the \fBdetach\fR routine will have been called\&. .PP All the driver\*(Aqs \fBattach\fR and \fBdetach\fR calls are guaranteed to have finished by the time this function returns\&. .SH "COPYRIGHT" .br