'\" t .\" Title: misc_deregister .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Miscellaneous Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "MISC_DEREGISTER" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Miscellaneous 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" misc_deregister \- unregister a miscellaneous device .SH "SYNOPSIS" .HP \w'int\ misc_deregister('u .BI "int misc_deregister(struct\ miscdevice\ *\ " "misc" ");" .SH "ARGUMENTS" .PP \fImisc\fR .RS 4 device to unregister .RE .SH "DESCRIPTION" .PP Unregister a miscellaneous device that was previously successfully registered with \fBmisc_register\fR\&. Success is indicated by a zero return, a negative errno code indicates an error\&. .SH "COPYRIGHT" .br