From: Marek Vasut Date: Thu, 19 May 2022 11:23:37 +0000 (+0200) Subject: drm/bridge: anx7625: Add missing of_node_put for endpoint X-Git-Tag: v6.0-rc1~138^2~22^2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=670c87fd169518eb4f15030c63f6c1b4ddf18bfb;p=thirdparty%2Flinux.git drm/bridge: anx7625: Add missing of_node_put for endpoint Add of_node_put call on the endpoint node after it is not needed. Signed-off-by: Marek Vasut Cc: Alex Deucher Cc: Javier Martinez Canillas Cc: Lyude Paul Cc: Thomas Zimmermann Cc: Xin Ji Reviewed-by: Robert Foss Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220519112337.62198-1-marex@denx.de --- diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 01f46d9189c13..0fab2aa47c673 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -1638,6 +1638,7 @@ static int anx7625_parse_dt(struct device *dev, bus_type = 0; mipi_lanes = of_property_count_u32_elems(ep0, "data-lanes"); + of_node_put(ep0); } if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */