mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +08:00
drm/shmob: Drop drm_vblank_cleanup
It doesn't do anything in the driver load error paths that the drm core doesn't also do (cleanup is done in drm_dev_fini). Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-10-daniel.vetter@ffwll.ch
This commit is contained in:
parent
edeb729f79
commit
10f9818307
@ -277,7 +277,7 @@ static int shmob_drm_probe(struct platform_device *pdev)
|
||||
ret = drm_irq_install(ddev, platform_get_irq(pdev, 0));
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "failed to install IRQ handler\n");
|
||||
goto err_vblank_cleanup;
|
||||
goto err_modeset_cleanup;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -292,8 +292,6 @@ static int shmob_drm_probe(struct platform_device *pdev)
|
||||
|
||||
err_irq_uninstall:
|
||||
drm_irq_uninstall(ddev);
|
||||
err_vblank_cleanup:
|
||||
drm_vblank_cleanup(ddev);
|
||||
err_modeset_cleanup:
|
||||
drm_kms_helper_poll_fini(ddev);
|
||||
drm_mode_config_cleanup(ddev);
|
||||
|
Loading…
Reference in New Issue
Block a user