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.