From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 53FA7C531DC for ; Fri, 23 Aug 2024 09:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=n0iG4z0x1+eAPWBBF6r0sGy0XLMNeiSfA3ky7GwBfBo=; b=qIzQby7lPF4pdBacKuxKkRiRWT EOgK9vX3thUc3oGda1euy1FNuJoLoXEnv/m3C//LVnQrE1VTDeEvtphTJnDDE5qQRDJdvxr8y126K 3H6m2PSBETr3h/Z/6B0OBb+7xMsuX9oIVazxoC1Tuw/EfRxBG18sCjAcjnBidyOS4XjGYlp7t688V xxX0yaIUgpe6+k1MgRebBMBPwnLA2PlbNRckV5xydvw1SFROrBa/N3qgQwHHDdGH2OQn0jYJx8f0E nsJE5nO9nlBI/XtfSmDp8+2HcQYYpwcCpyaH0W5RSvA8+KKjd4WoTKvaOANSc7UcrTBR5pWocBAs6 y+TQyREQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shQcU-0000000G7l7-1Ypk; Fri, 23 Aug 2024 09:30:10 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shQab-0000000G7Er-3HXz; Fri, 23 Aug 2024 09:28:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n0iG4z0x1+eAPWBBF6r0sGy0XLMNeiSfA3ky7GwBfBo=; b=aYW2EMSPM1ZarsCG15qwtzWItJ zWYYkm/AbZEOpqFXWbqJ0cwz7YGonkbqKZfdl54cvI7U/h4ts+3pxqHJwhR+LOmLav4zhnvVwP7zl vZZ1Iyt/D1QmWT7ODmKS8gYY6kQBOnlkrZ7OdFzSqgnlOAhwBRX/V9wm9k9FekMZk5kGTIPTT+0xB nJIvOMWmKDKCyonqAQWZ58sF8Kfxy2zywIpVrWDcCdQGE1a48yd/Ncem+clZdEJNRi683p3XeROVu Za/RYzB/bM/scQtoUojdVBURd10+rYgo4tdcKvhr8WLhenFJDeb1e5JQgk3zFDoksg9Pulp2GmXf8 FcYH6aYg==; Received: from i5e861933.versanet.de ([94.134.25.51] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shQaZ-0003nt-M1; Fri, 23 Aug 2024 11:28:11 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linus.walleij@linaro.org, brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ye Zhang Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, tao.huang@rock-chips.com, finley.xiao@rock-chips.com, tim.chen@rock-chips.com, elaine.zhang@rock-chips.com, Ye Zhang Subject: Re: [PATCH v2] gpio: rockchip: release reference to device node Date: Fri, 23 Aug 2024 11:28:52 +0200 Message-ID: <4031563.ZaRXLXkqSa@diego> In-Reply-To: <20240823034314.62305-3-ye.zhang@rock-chips.com> References: <20240823034314.62305-1-ye.zhang@rock-chips.com> <20240823034314.62305-3-ye.zhang@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_022813_931477_6F6A0AA7 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Freitag, 23. August 2024, 05:43:05 CEST schrieb Ye Zhang: > Added a call to of_node_put(pctlnp) in rockchip_gpio_probe to properly > release the reference to the device node, improving memory management > and preventing potential leaks. > > Fixes: 936ee2675eee ("gpio/rockchip: add driver for rockchip gpio") > Signed-off-by: Ye Zhang Reviewed-by: Heiko Stuebner