Commit 75ff9f3c authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Daniel Vetter
Browse files

drm/vgem: Replace drm_dev_unref with drm_dev_put



This patch unifies the naming of DRM functions for reference counting
of struct drm_device. The resulting code is more aligned with the rest
of the Linux kernel interfaces.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180716074624.7931-1-tzimmermann@suse.de
parent e81eb98e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ out_free:
static void __exit vgem_exit(void)
{
	drm_dev_unregister(&vgem_device->drm);
	drm_dev_unref(&vgem_device->drm);
	drm_dev_put(&vgem_device->drm);
}

module_init(vgem_init);