Revert "drm/stm: Fix an error handling path in stm_drm_platform_probe()"
This reverts commit 03956d38af
.
This commit is contained in:
parent
f813cb6b0a
commit
3fe0cf26f0
1 changed files with 1 additions and 3 deletions
|
@ -195,14 +195,12 @@ static int stm_drm_platform_probe(struct platform_device *pdev)
|
|||
|
||||
ret = drm_dev_register(ddev, 0);
|
||||
if (ret)
|
||||
goto err_unload;
|
||||
goto err_put;
|
||||
|
||||
drm_fbdev_generic_setup(ddev, 16);
|
||||
|
||||
return 0;
|
||||
|
||||
err_unload:
|
||||
drv_unload(ddev);
|
||||
err_put:
|
||||
drm_dev_put(ddev);
|
||||
|
||||
|
|
Loading…
Reference in a new issue