mirror of https://gitee.com/openkylin/linux.git
drm/zte: Drop drm_vblank_cleanup
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
This commit is contained in:
parent
10f9818307
commit
33b6b7b12d
|
@ -149,7 +149,6 @@ static int zx_drm_bind(struct device *dev)
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue