diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2018-07-16 09:46:24 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-08-09 14:46:24 +0200 |
commit | 75ff9f3c9a9827bb917603657568bf46a2355e1a (patch) | |
tree | 91c08db562b990b1a617fc61264a951cf37d4ffa /drivers/gpu/drm/vgem | |
parent | e81eb98e3fa8bfd558f134d9d9862eefbd5e6663 (diff) | |
download | linux-75ff9f3c9a9827bb917603657568bf46a2355e1a.tar.gz linux-75ff9f3c9a9827bb917603657568bf46a2355e1a.tar.bz2 linux-75ff9f3c9a9827bb917603657568bf46a2355e1a.zip |
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: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180716074624.7931-1-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/vgem')
-rw-r--r-- | drivers/gpu/drm/vgem/vgem_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 0e5620f76ee0..ec6af8b920da 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -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); |