drm_put_dev — Unregister and release a DRM device
void drm_put_dev ( | struct drm_device * dev) ; |
Called at module unload time or when a PCI device is unplugged.
Cleans up all DRM device, calling drm_lastclose
.
Use of this function is deprecated. It will eventually go away
completely. Please use drm_dev_unregister
and drm_dev_unref
explicitly
instead to make sure that the device isn't userspace accessible any more
while teardown is in progress, ensuring that userspace can't access an
inconsistent state.