drm_dev_unregister — Unregister DRM device
void drm_dev_unregister ( | struct drm_device * dev) ; |
Unregister the DRM device from the system. This does the reverse of
drm_dev_register
but does not deallocate the device. The caller must call
drm_dev_unref
to drop their final reference.
This should be called first in the device teardown code to make sure userspace can't access the device instance any more.