Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3338592ybl; Sun, 15 Dec 2019 07:43:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzQsDDU4LEbaoOjZlMLdSJsvnosPdzLFmt9wcxgCmb21CNvIYDoWPHLJAW/7g/69PaD4Zyd X-Received: by 2002:a9d:6649:: with SMTP id q9mr26092126otm.313.1576424594573; Sun, 15 Dec 2019 07:43:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576424594; cv=none; d=google.com; s=arc-20160816; b=InyV1y06sjD/d+MP7SZcoqQ5VJHokQbbSHaNyRsRu1rM13bH8d0PVvgngwYNEpYpm9 JwibSdqQzVEFAj7+q8SvjZNsuL9EYBH6IrSnt0wKGWZZ7LmwH5oU3wfPSJien8/HXo14 cbzyfeXdNfBqVOsw2FFbRhXuwHO4i+xANma8nAzlCA0B/JnsbOBjKb54LzDvYCwZowiS pvG+1lFe5ctPhS/ieGgSJkcR6H2VotWx9iATCeyLeMWF9YDxbxf55plqP6dgNvhbKqfO 0lgV1M5B6fiFgGrqLjtntMTBaFQK2i8CvyT8MTlNDf+MZUF1BhmpYTktK0SOfG/UIMXH Aw+A== 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=0Sj9K/Fg/Lp6+H1dkSUhFxjPXudhpqL7Gotq9vKzF4I=; b=RI9kVF4+ICqWulf7pj36lSFMarJtv9qqNVn3IeF35mjIX1p7uTPSRPsBWCJqgfqIOr /r0cy0njf58rbE2Hp+3qASDACPnAAu29i4o3F+RBjsHUaoAWS8r3Er+cL9KDHNCoVZXY APiSGEb4acn45cvo9DfP3G1VFl+c+7tAMq2K95EeBi/VG9yW4/v6XWq5l5uExnATWFvi /EaVQQIKTDY98C1BSKnXiVHQt02JhCkhSWJXRZ+wMzaNpL9xETVvFjYnk8nDSkUj4Nj0 UKp6t+bofarefUCCPJpTFHbvAiuaKcpjckpgYIII/a+obHfqhvr7CaqQ0+9WMWZtAGLi l1nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aNI7zL5B; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si9568014otq.21.2019.12.15.07.43.03; Sun, 15 Dec 2019 07:43:14 -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=@gmail.com header.s=20161025 header.b=aNI7zL5B; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726540AbfLOPmV (ORCPT + 99 others); Sun, 15 Dec 2019 10:42:21 -0500 Received: from mail-io1-f65.google.com ([209.85.166.65]:37228 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbfLOPmV (ORCPT ); Sun, 15 Dec 2019 10:42:21 -0500 Received: by mail-io1-f65.google.com with SMTP id k24so2725811ioc.4; Sun, 15 Dec 2019 07:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0Sj9K/Fg/Lp6+H1dkSUhFxjPXudhpqL7Gotq9vKzF4I=; b=aNI7zL5BW90R+OYPkdGKAQQHwnE+TTd3rXHfLCytAOHAVtTaoyLJQ+BAI3gs+I0wiC EI0qLinJcWxwssodkMC4IbXDKTCUKCVgRKvE5+V9xI1KDc+Wy73hOIxHvpJQH3PVOC0q b9VfJ9DReaRmr0cy3VJcMYl7DART9zbvLziDREuOypti1CqLHjkfGCDVBijwA0s5yhl7 8z/R7UlTf4eASf1crwDP+3OBqr/cq3qoZTEl204qRTn66rgFSzmBIEBMD/2DEpkSPlk1 cxSJkjxrsRo7XsbJoAPY5d9/M7ogOEjXcMuZQrIXL+xaQ4DvxXxdcXe8xULCrlA078bU i9Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0Sj9K/Fg/Lp6+H1dkSUhFxjPXudhpqL7Gotq9vKzF4I=; b=WrYnmfzkA9/WYZTxtAaJXbnWfCzmyWCjlUuH5zV1ub2FgkTcOyGTpboM2Tgb85M4ar 4/+xqD9/3ign/LcAUjKmbXlzU5N7A9PPxdPT8KvaW1VDiqX6WimPtGl3zfnKdcDRkJPi Ay+ym72uSbXqHPELPnkIH8h9TxqTXZEmaVjlia/0guSqML3dQSHNMN9OWHMIP97whwv6 O0iz5DUulwVdA54tYzsY4ti/9tCCcee/OrTU50vknVl/igr62t352BlVcePr3Pcw5bnt CUXazcB1H0MoRR9jASCS03AZInzzayBKLGT0rvIBXpg5Q+niu0aKho/MLizhX6vgaHDT fe2Q== X-Gm-Message-State: APjAAAU3GABadS/AoQNypoYOJwr/V28JPws6ILYRzjeocXvPOUdHfU+u nU+A0lbaA0WOc2YKdr+NNb/7mUTs4YTDza18S30= X-Received: by 2002:a02:c611:: with SMTP id i17mr8752837jan.28.1576424540734; Sun, 15 Dec 2019 07:42:20 -0800 (PST) MIME-Version: 1.0 References: <20191214181130.25808-1-tiny.windzz@gmail.com> In-Reply-To: From: Frank Lee Date: Sun, 15 Dec 2019 23:42:09 +0800 Message-ID: Subject: Re: [PATCH 1/2] PM / devfreq: rockchip-dfi: add missing of_node_put() To: Chanwoo Choi 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 On Sun, Dec 15, 2019 at 11:31 PM Chanwoo Choi wrote: > > 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/eve= nt/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_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. Better to use the capital letter for first char of sentence. Thx! Yangtao > > -- > Best Regards, > Chanwoo Choi