[PATCH 01/18] drm/ofdrm: Remove struct ofdrm_device.pdev

Javier Martinez Canillas javierm at redhat.com
Sun Mar 23 10:10:50 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> The field pdev is unused. Remove it.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
>  drivers/gpu/drm/tiny/ofdrm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tiny/ofdrm.c b/drivers/gpu/drm/tiny/ofdrm.c
> index 13491c0e704a..7469dd281083 100644
> --- a/drivers/gpu/drm/tiny/ofdrm.c
> +++ b/drivers/gpu/drm/tiny/ofdrm.c
> @@ -291,7 +291,6 @@ struct ofdrm_device_funcs {
>  
>  struct ofdrm_device {
>  	struct drm_device dev;
> -	struct platform_device *pdev;
>  
>  	const struct ofdrm_device_funcs *funcs;
>  
> -- 
> 2.48.1
>

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list