Skip to content

Commit 38d356c

Browse files
author
Thomas Zimmermann
committed
drm/ingenic: Remove error check from fbdev setup
Remove the error check from the fbdev setup function. The function will print a warning. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Reviewed-by: Noralf Trønnes <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Acked-by: Gerd Hoffmann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent e883a82 commit 38d356c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/ingenic/ingenic-drm.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,9 +781,7 @@ static int ingenic_drm_probe(struct platform_device *pdev)
781781
goto err_devclk_disable;
782782
}
783783

784-
ret = drm_fbdev_generic_setup(drm, 32);
785-
if (ret)
786-
dev_warn(dev, "Unable to start fbdev emulation: %i", ret);
784+
drm_fbdev_generic_setup(drm, 32);
787785

788786
return 0;
789787

0 commit comments

Comments
 (0)