diff options
author | Marek Vasut <marex@denx.de> | 2022-05-19 14:23:37 +0300 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-05-23 12:44:20 +0300 |
commit | 670c87fd169518eb4f15030c63f6c1b4ddf18bfb (patch) | |
tree | 2cbdfe0780e37265f206175f430e89686226b649 /drivers/gpu/drm/bridge/analogix/anx7625.c | |
parent | 2ba5b683260e13d8f2c43bc594d5ae15ec7f7a04 (diff) | |
download | linux-670c87fd169518eb4f15030c63f6c1b4ddf18bfb.tar.xz |
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 <marex@denx.de>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Xin Ji <xji@analogixsemi.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220519112337.62198-1-marex@denx.de
Diffstat (limited to 'drivers/gpu/drm/bridge/analogix/anx7625.c')
-rw-r--r-- | drivers/gpu/drm/bridge/analogix/anx7625.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 01f46d9189c1..0fab2aa47c67 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 */ |