---
name: "drm_put_dev"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_put_dev"
---

# drm\_put\_dev(9)

Unregister and release a DRM device

## NAME

drm\_put\_dev - Unregister and release a DRM device

## SYNOPSIS

**void drm\_put\_dev(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

DRM device

## DESCRIPTION

Called at module unload time or when a PCI device is unplugged.

Use of this function is discouraged. It will eventually go away completely. Please use **drm\_dev\_unregister** and **drm\_dev\_unref** explicitly instead.

Cleans up all DRM device, calling **drm\_lastclose**.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
