drm/zte: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jun 2017 08:28:49 +0000 (10:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Jun 2017 06:41:15 +0000 (08:41 +0200)
It again looks all cargo-culted for no good reasons.

Cc: Shawn Guo <shawnguo@kernel.org>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-13-daniel.vetter@ffwll.ch
drivers/gpu/drm/zte/zx_drm_drv.c

index f46c855d274bd391d0c232458b9dd29c39534e62..fe1aa5315e19be75d5addcd283449ba04f026dcb 100644 (file)
@@ -149,7 +149,6 @@ out_fbdev_fini:
 out_poll_fini:
        drm_kms_helper_poll_fini(drm);
        drm_mode_config_cleanup(drm);
-       drm_vblank_cleanup(drm);
 out_unbind:
        component_unbind_all(dev, drm);
 out_unregister:
@@ -171,7 +170,6 @@ static void zx_drm_unbind(struct device *dev)
        }
        drm_kms_helper_poll_fini(drm);
        drm_mode_config_cleanup(drm);
-       drm_vblank_cleanup(drm);
        component_unbind_all(dev, drm);
        dev_set_drvdata(dev, NULL);
        drm->dev_private = NULL;