summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vgem
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2020-03-23 15:49:24 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-03-26 15:45:36 +0100
commitd33b58d0115e7eee011fddee2d8e25c6a09fb279 (patch)
tree6691d8c26146c26f78034926bbf17836b8573713 /drivers/gpu/drm/vgem
parentdrm: Manage drm_vblank_cleanup with drmm_ (diff)
downloadlinux-d33b58d0115e7eee011fddee2d8e25c6a09fb279.tar.xz
linux-d33b58d0115e7eee011fddee2d8e25c6a09fb279.zip
drm: Garbage collect drm_dev_fini
It has become empty. Given the few users I figured not much point splitting this up. v2: Rebase over i915 changes. v3: Rebase over patch split fix. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-26-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/vgem')
-rw-r--r--drivers/gpu/drm/vgem/vgem_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c
index 7486014e9149..ec1a8ebb6f1b 100644
--- a/drivers/gpu/drm/vgem/vgem_drv.c
+++ b/drivers/gpu/drm/vgem/vgem_drv.c
@@ -432,7 +432,6 @@ static void vgem_release(struct drm_device *dev)
struct vgem_device *vgem = container_of(dev, typeof(*vgem), drm);
platform_device_unregister(vgem->platform);
- drm_dev_fini(&vgem->drm);
}
static struct drm_driver vgem_driver = {