[PATCH 2/8] drm/bridge: it66121: Add bridge_to_it66121() helper and use it

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Tue Nov 14 16:01:47 UTC 2023


On Tue, 14 Nov 2023 at 17:09, Sui Jingfeng <sui.jingfeng at linux.dev> wrote:
>
> From: Sui Jingfeng <suijingfeng at loongson.cn>
>
> Instead of using the container_of() directly, which avoid the code lines
> too long in horizontial. Just trivial cleanup, no functional change.
>
> Signed-off-by: Sui Jingfeng <suijingfeng at loongson.cn>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


> ---
>  drivers/gpu/drm/bridge/ite-it66121.c | 27 ++++++++++++++++-----------
>  1 file changed, 16 insertions(+), 11 deletions(-)

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list