.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DRM_PUT_DEV" "9" "09 October 2005" "" "" .SH NAME drm_put_dev \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_put_dev (drm_device_t * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP \\param dev device data structure \\return always zero .PP Cleans up the proc resources. If it is the last minor then release the foreign ``drm'' data, otherwise unregisters the ``drm'' data, frees the dev list and unregisters the character device.