Commit 33b6b7b1 authored by Daniel Vetter's avatar Daniel Vetter

drm/zte: Drop drm_vblank_cleanup

It again looks all cargo-culted for no good reasons.

Cc: Shawn Guo <shawnguo@kernel.org>
Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-13-daniel.vetter@ffwll.ch
parent 10f98183
...@@ -149,7 +149,6 @@ static int zx_drm_bind(struct device *dev) ...@@ -149,7 +149,6 @@ static int zx_drm_bind(struct device *dev)
out_poll_fini: out_poll_fini:
drm_kms_helper_poll_fini(drm); drm_kms_helper_poll_fini(drm);
drm_mode_config_cleanup(drm); drm_mode_config_cleanup(drm);
drm_vblank_cleanup(drm);
out_unbind: out_unbind:
component_unbind_all(dev, drm); component_unbind_all(dev, drm);
out_unregister: out_unregister:
...@@ -171,7 +170,6 @@ static void zx_drm_unbind(struct device *dev) ...@@ -171,7 +170,6 @@ static void zx_drm_unbind(struct device *dev)
} }
drm_kms_helper_poll_fini(drm); drm_kms_helper_poll_fini(drm);
drm_mode_config_cleanup(drm); drm_mode_config_cleanup(drm);
drm_vblank_cleanup(drm);
component_unbind_all(dev, drm); component_unbind_all(dev, drm);
dev_set_drvdata(dev, NULL); dev_set_drvdata(dev, NULL);
drm->dev_private = NULL; drm->dev_private = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment