Re: [PATCH v9 1/8] Revert "drm: mipi-dsi: Convert logging to drm_* functions."

From: Siddh Raman Pant
Date: Tue Jun 06 2023 - 09:22:20 EST


On Tue, 06 Jun 2023 18:25:37 +0530, Laurent Pinchart wrote:
> Hi Siddh,
>
> Thank you for the patch.

Anytime :)

> Any chance we could prevent this from happening by turning the macros
> into inline functions ?

The next patch in the series almost does that, with a function introduced
as Jani mentioned. The macros will call that function, so if the argument
is not drm_device there will be error.

Thanks,
Siddh