[PATCH 04/10] drm/ingenic: Remove error check from fbdev setup

Paul Cercueil paul at crapouillou.net
Mon Apr 6 23:45:02 UTC 2020


Hi Thomas,

Le lun. 6 avril 2020 à 15:43, Thomas Zimmermann <tzimmermann at suse.de> 
a écrit :
> Remove the error check from the fbdev setup function. The function
> will print a warning.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>

Reviewed-by: Paul Cercueil <paul at crapouillou.net>

> ---
>  drivers/gpu/drm/ingenic/ingenic-drm.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c 
> b/drivers/gpu/drm/ingenic/ingenic-drm.c
> index 7f3f869f57b3f..d938f2b1a96f1 100644
> --- a/drivers/gpu/drm/ingenic/ingenic-drm.c
> +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
> @@ -783,9 +783,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;
> 
> --
> 2.26.0
> 




More information about the dri-devel mailing list