Revert "drm/stm: Fix an error handling path in stm_drm_platform_probe()"

This reverts commit 03956d38af.
This commit is contained in:
Ksawlii 2024-11-24 00:23:26 +01:00
parent f813cb6b0a
commit 3fe0cf26f0

View file

@ -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);