Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3330977ybl; Sun, 15 Dec 2019 07:32:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyAI0dl65tdYv5Nc+cONHUhOw/Rn4nvnnQBfiK1MQGvLR5R/47hx6PY3DmjG/gAwzczSZnE X-Received: by 2002:a9d:3a49:: with SMTP id j67mr27229897otc.264.1576423974648; Sun, 15 Dec 2019 07:32:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576423974; cv=none; d=google.com; s=arc-20160816; b=dKfiUuMG29DSMRk0iKK4yk0s2eOxbqs7C4v/1gJww0VFVRRGtRyqLpsul8E+tWcU6k gsHKS5AR7qNgV6DQaNXxS8CXqVbZB0D1i78G5pSxqVF1WHODNKnQdRMaiR0+jZHPhfsS Tf2UaiEy/yH/5fJcBr097XyXVH5El/blog11iDk3W6wW9I6fHHk1Gp4l0lqc4bHYJee8 oA8oPYDInVVMPYjPdeCHkl36qzzyb4w9BGI21UAnPJDuH0yRaLAmoQVKyHsHNH0YIHok CH9dQPT6oGQia38HW1i3aMv/rQEQGtLnV5Duv3G04TDzNwqaniewMz9El6IFgQ9xyE02 KWwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=oTW2fTMvb9hVB0hhOYSVFISpIMwWEPiTvITWfMVoocs=; b=MpCHrHW8fGHT05v/qScpPaC7Css1lZXD5ssG2cDqx1V4ahU6PQ6+8UGPQNnW+KsYp2 TTASFNLwRN0BNEMP1DkqxunaHvwyOOQNaWmd5PzCrkYG1NJJLuG6uJVOQe1xXC7M9dyQ VQ8AupLjQQeu+azZJb+Va+OF65saNCGSCl+MKDctvmtcxpD2YN6F2KbdPjDRrX+Jc4Xp V1/1oZk+GTDDZx2B2YSxvB0I2VVUiJZMX1EqKFxD3MHQ8iAWq4bvLyor+A+UFPQHiQlv V/GGaSxcDv8sbT/2jkgT2hQiWQBbg15cAsX7MBX5T9C9PrEjKW4kL+4b6Dv8yi/GQYny h5Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i5Cutc5J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p28si9621820oth.296.2019.12.15.07.32.43; Sun, 15 Dec 2019 07:32:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i5Cutc5J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbfLOPbh (ORCPT + 99 others); Sun, 15 Dec 2019 10:31:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:57806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfLOPbg (ORCPT ); Sun, 15 Dec 2019 10:31:36 -0500 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7F3302465B; Sun, 15 Dec 2019 15:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576423895; bh=LgHeGbyJrYWU3ryipXZAEWbKr4XnV0pc7CZo8nwe71o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=i5Cutc5J5C/5aYfb3pnqldlule1dkMTiFtdLJQQf0csa7oyzCh7cQOCYG07GcSVZ9 IqhCNmw8CkN/a/xa4PpC8UyV1eVrvlsHUwUDR3+xpHamO7llyTLZV0IjgaarW3NFPu smNpvbffdnRweEOQ/u/ZeoB1inTYavFVuPAUA4iU= Received: by mail-lj1-f178.google.com with SMTP id h23so3967503ljc.8; Sun, 15 Dec 2019 07:31:35 -0800 (PST) X-Gm-Message-State: APjAAAVsIYOgOb/Muw/9yMUEjVfjYTAUGVU8EbdnvV8zjQ2UWTG9nmvH BocPKACnfdoRNuJvziYnELhBgiDEObBzqUZqH0A= X-Received: by 2002:a05:651c:208:: with SMTP id y8mr16919184ljn.36.1576423893690; Sun, 15 Dec 2019 07:31:33 -0800 (PST) MIME-Version: 1.0 References: <20191214181130.25808-1-tiny.windzz@gmail.com> In-Reply-To: <20191214181130.25808-1-tiny.windzz@gmail.com> From: Chanwoo Choi Date: Mon, 16 Dec 2019 00:30:57 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] PM / devfreq: rockchip-dfi: add missing of_node_put() To: Yangtao Li Cc: Chanwoo Choi , MyungJoo Ham , Kyungmin Park , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Linux PM list , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2019=EB=85=84 12=EC=9B=94 15=EC=9D=BC (=EC=9D=BC) =EC=98=A4=EC=A0=84 3:12, = Yangtao Li =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Signed-off-by: Yangtao Li > --- > drivers/devfreq/event/rockchip-dfi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/devfreq/event/rockchip-dfi.c b/drivers/devfreq/event= /rockchip-dfi.c > index 5d1042188727..45b190e443d8 100644 > --- a/drivers/devfreq/event/rockchip-dfi.c > +++ b/drivers/devfreq/event/rockchip-dfi.c > @@ -200,6 +200,7 @@ static int rockchip_dfi_probe(struct platform_device = *pdev) > node =3D of_parse_phandle(np, "rockchip,pmu", 0); > if (node) { > data->regmap_pmu =3D syscon_node_to_regmap(node); > + of_node_put(node); > if (IS_ERR(data->regmap_pmu)) > return PTR_ERR(data->regmap_pmu); > } > -- > 2.17.1 > Applied it. Better to use the capital letter for first char of sentence. --=20 Best Regards, Chanwoo Choi