drm/ingenic: Remove error check from fbdev setup
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 Apr 2020 08:26:35 +0000 (10:26 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 Apr 2020 14:24:44 +0000 (16:24 +0200)
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
drivers/gpu/drm/ingenic/ingenic-drm.c

index 7a71471..24cc358 100644 (file)
@@ -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;