Re: [PATCH] drm/bridge: it66121: Remove a duplicated invoke of of_device_is_available()

From: Dmitry Baryshkov
Date: Sat Mar 16 2024 - 13:46:16 EST


On Sat, 16 Mar 2024 at 19:44, Sui Jingfeng <sui.jingfeng@xxxxxxxxx> wrote:
>
> The calling of of_device_is_available() in it66121_probe() is duplicated,
> as the of_graph_get_remote_node() has already do the check for us. There
> is no need to call it again, thus delete the later one.
>
> Signed-off-by: Sui Jingfeng <sui.jingfeng@xxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/ite-it66121.c | 6 ------
> 1 file changed, 6 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry