summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ingenic
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-04-08 11:26:35 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2020-04-08 17:24:44 +0300
commit38d356c7fe7fd41be65f12813dc2998d5665ef11 (patch)
tree3d7cd21367caa592a4a725d58560a89da5e31844 /drivers/gpu/drm/ingenic
parente883a82b69a01f541b15599bb6ce8397a9912b0e (diff)
downloadlinux-38d356c7fe7fd41be65f12813dc2998d5665ef11.tar.xz
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 <tzimmermann@suse.de> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200408082641.590-5-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ingenic')
-rw-r--r--drivers/gpu/drm/ingenic/ingenic-drm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c
index 7a71471ca783..24cc3587cea5 100644
--- a/drivers/gpu/drm/ingenic/ingenic-drm.c
+++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
@@ -781,9 +781,7 @@ static int ingenic_drm_probe(struct platform_device *pdev)
goto err_devclk_disable;
}
- ret = drm_fbdev_generic_setup(drm, 32);
- if (ret)
- dev_warn(dev, "Unable to start fbdev emulation: %i", ret);
+ drm_fbdev_generic_setup(drm, 32);
return 0;