From patchwork Thu May 19 11:23:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12854803 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 373D1C433FE for ; Thu, 19 May 2022 11:23:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 478CF10E2C7; Thu, 19 May 2022 11:23:51 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by gabe.freedesktop.org (Postfix) with ESMTPS id E84B011A35E for ; Thu, 19 May 2022 11:23:49 +0000 (UTC) Received: from tr.lan (ip-86-49-12-201.net.upcbroadband.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 8073C83BDB; Thu, 19 May 2022 13:23:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1652959428; bh=KW+9ViB5pzvRBUjFAW0Bj63gGgGCSaDRo9NCnBOYzt8=; h=From:To:Cc:Subject:Date:From; b=DPpLGQbKQrlK6fCHVY7S1toxTUBwAVNlejQzoBWU4IsX1m9dKYy1+Ba39TrdJv8hv yUMMrohbtEddXJpL/OD8XwcCo+wiaF7ICBHOmcxTyrpaLTkn4zrDI+zE1WOLOASt+o 7ZHtVECGQrLtL8rVkvQtZk4OSq9FSQLlEN7dwnmrnbaZw+5tMosdkD0KnGzeBoDIW1 Y8JARBplKf73ebkdA98gB6uWmjyqstWjHZw5LSq/DF1Bb3DEgUQsf9BihAF4Nbqir2 OyNe0nDIqLRVdl4EiYThLv3f+R7oN7dtEXBQOt4FP2gRxonLVGWYSB3oRq8KZcuIRl GHk00SvLYVYaQ== From: Marek Vasut To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/bridge: anx7625: Add missing of_node_put for endpoint Date: Thu, 19 May 2022 13:23:37 +0200 Message-Id: <20220519112337.62198-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Javier Martinez Canillas , robert.foss@linaro.org, Thomas Zimmermann , Alex Deucher , Xin Ji Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 53a5da6c49dd3..e92eb4a407452 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_PARALLEL) /* bus type is Parallel(DSI) */