]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/sun4i: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:52:07 +0000 (16:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 May 2017 08:48:40 +0000 (10:48 +0200)
Again seems just cargo-culted ... It's not ordered against any
irq/vblank/modeset shutdown.

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-33-daniel.vetter@ffwll.ch
drivers/gpu/drm/sun4i/sun4i_drv.c

index 8ddd72cd58736e3f6e0935087cccdab802e6dd96..c26d5888f8e1900b6cb5173ae820cdeb2e5a82ad 100644 (file)
@@ -138,7 +138,6 @@ finish_poll:
        sun4i_framebuffer_free(drm);
 cleanup_mode_config:
        drm_mode_config_cleanup(drm);
-       drm_vblank_cleanup(drm);
 free_mem_region:
        of_reserved_mem_device_release(dev);
 free_drm:
@@ -154,7 +153,6 @@ static void sun4i_drv_unbind(struct device *dev)
        drm_kms_helper_poll_fini(drm);
        sun4i_framebuffer_free(drm);
        drm_mode_config_cleanup(drm);
-       drm_vblank_cleanup(drm);
        of_reserved_mem_device_release(dev);
        drm_dev_unref(drm);
 }