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

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sat Mar 16 17:45:57 UTC 2024


On Sat, 16 Mar 2024 at 19:44, Sui Jingfeng <sui.jingfeng at linux.dev> 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 at linux.dev>
> ---
>  drivers/gpu/drm/bridge/ite-it66121.c | 6 ------
>  1 file changed, 6 deletions(-)
>

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

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list