[PATCH v2 1/5] drm/mipi-dsi: Add dev_is_mipi_dsi function
Javier Martinez Canillas
javierm at redhat.com
Fri Jun 27 09:34:20 UTC 2025
Maxime Ripard <mripard at kernel.org> writes:
> On Fri, Jun 27, 2025 at 11:04:16AM +0200, Javier Martinez Canillas wrote:
>> Maxime Ripard <mripard at kernel.org> writes:
>>
[...]
>>
>> Usually I prefer to have static inline functions instead of macros to have
>> type checking. I see that this header has a mix of both, so I don't have a
>> strong opinion on what to use in this case.
>>
>> Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
>
> Thanks for your review!
>
> For the record, it's also how the platform bus defines its equivalent
> macro, so that's why I went with it.
>
Got it. I think is OK.
> Maxime
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list