[PATCH 00/17] drm: rename various struct members "dev" -> "drm"

Javier Martinez Canillas javierm at redhat.com
Thu Jul 13 15:59:03 UTC 2023


Maxime Ripard <mripard at kernel.org> writes:

> On Thu, Jul 13, 2023 at 04:10:23PM +0200, Uwe Kleine-König wrote:

[...]

>>  - Javier Martinez Canillas
>>    Generally in favour (also via irc)
>>    Wants a single patch
>>    naming: drm > drm_dev > dev
>
> drm-misc driver maintainer
>

Just to clarify my position on this. I did agree that "dev" was confusing
for me when I started hacking on DRM/KMS and I believe that "drm" is more
readable. I.e: in my drivers I use "struct drm_device *drm = plane->dev".

But I think that all the discussion and energy *already spent* on this
series makes it a net negative, regardless of the code's end result.

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list