Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3331455ybl; Sun, 15 Dec 2019 07:33:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxVFiKVPX3ijT1NSPbjv+LDZMDYC4kd7ax2sDwujvBKQrjrtIIgfQYAI8oLrF4GK2s48W8o X-Received: by 2002:a54:468b:: with SMTP id k11mr8638661oic.134.1576424011678; Sun, 15 Dec 2019 07:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576424011; cv=none; d=google.com; s=arc-20160816; b=0rMC6/oyIbnKWW3E84yhcZ7ELtHFUZHYlm7SscRTDN1yHI6owkG9q+sDrsd1IvZQaM HUj+/V0AmTtRhAHcG4CiGt6VQUcKlZQjVu4acflCEhw1nRt0RXstBIhr9u0E5u1wOPNS KNse4YLiSgjk+dr2at6SKvIHwa7+dNWTF8nLmAvNQu4qf7svGYf5qWz/R0blpZWvRjID b/ufuYRBut0KwR/ksDEapV03up2LsbhDK5X2w6anX8LByOiajmHVGya8MnxqEdnKuqUF mHC2ea9wht1k45y0/Lat5Ij7/epCLcvNthW2WNelHcWzbIU487IY7IzNIaVVYDU9cVav HeKg== 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=XloFiQIq2fSm77PwtueXtGs2tFCQKdra+VHEGqFwSQg=; b=0EgMBbFk3XDt3eCipCcmiBd5vw/t8qtYzZE91CJ6IStYHb0ARShL7cNaw8PVdMdewy Dkv7CC18RioPOgI88Nv0cAi+xm1+sB9z9GVbpC7AAaUAPZaHHMkPdBG/2MfPP0gFtTE8 QTDjX177LLuWNljUlCXBADs2OsvZU/NB9E1a72qI2b6dV/JWadqJHginaGu9d3l/aJ+q vUFTLiGgtz/0uB6XFaYuifFRH4/1Or8MgbhxX5MRqYr+IqoYEqqL4ihK7IUIR6xmGufe sNcFuMRWgFGT4a9u9ZVR3+AgqGvPJ/fQHp8PrM1WI8wj4cp247Xrhx3zYID4qAq7a6up XrLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1JbZ8zWQ; 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 z203si8890138oia.124.2019.12.15.07.33.20; Sun, 15 Dec 2019 07:33:31 -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=1JbZ8zWQ; 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 S1726603AbfLOPcK (ORCPT + 99 others); Sun, 15 Dec 2019 10:32:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:58310 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbfLOPcK (ORCPT ); Sun, 15 Dec 2019 10:32:10 -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 E6138206D3; Sun, 15 Dec 2019 15:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576423929; bh=LsdE1olfUWAg8NbQgwIIgsdHBueTtS886MJUXIF7248=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=1JbZ8zWQwRQdlNDMhXLyawJKgoPkUq82atf12KDHnNl4Ez+XlVN9k5/BersF7i2xF doZmwRzrKjAQ2ft+LIC+WmQZmTy/ptRyJm6TL6/K3u4BKX9xyo4vfHzi6NYKe40szC eA1aZs7ybyYhmC+WBYJjDX7IklYj62Rd6EirCuII= Received: by mail-lj1-f178.google.com with SMTP id d20so3947331ljc.12; Sun, 15 Dec 2019 07:32:08 -0800 (PST) X-Gm-Message-State: APjAAAVmdqniUdjEu7Q1hpV0r7vG0PZaTmK8mMV0VZ/k+A32o0JZ6wHc I/nD7jr7SHtPSQ9EjYq4hDNcZEBbhyexsEzLv+I= X-Received: by 2002:a2e:91cb:: with SMTP id u11mr16917581ljg.82.1576423927151; Sun, 15 Dec 2019 07:32:07 -0800 (PST) MIME-Version: 1.0 References: <20191214181130.25808-1-tiny.windzz@gmail.com> <20191214181130.25808-2-tiny.windzz@gmail.com> In-Reply-To: <20191214181130.25808-2-tiny.windzz@gmail.com> From: Chanwoo Choi Date: Mon, 16 Dec 2019 00:31:30 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] PM / devfreq: rk3399_dmc: 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/rk3399_dmc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c > index 2e65d7279d79..2f1027c5b647 100644 > --- a/drivers/devfreq/rk3399_dmc.c > +++ b/drivers/devfreq/rk3399_dmc.c > @@ -372,6 +372,7 @@ static int rk3399_dmcfreq_probe(struct platform_devic= e *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. --=20 Best Regards, Chanwoo Choi