Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4532017ybb; Tue, 14 Apr 2020 09:05:25 -0700 (PDT) X-Google-Smtp-Source: APiQypIHVuutA6deJZ1hNPVDF95NDGyhS3/NNUZF2eVTPTZCFz5b8Re/lSPTtzjwVfXcG4BSkV68 X-Received: by 2002:a17:906:3289:: with SMTP id 9mr879143ejw.130.1586880324729; Tue, 14 Apr 2020 09:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586880324; cv=none; d=google.com; s=arc-20160816; b=WM3qm9+LySmXvYpVdZpB9B+OBSY0viz0XUO+NMfXVQKH+P0wgjuiVprVwIAes6uWQt cxs6mVao7n26mLfybAQ5BPw5rMxVsGSSM6CcrWetwJDpN0Bh1d2J+HX+7dhGigJWkM7e qENBdAx8fart8BwopBFJSFvaK+bJn4dqjMCfWr4OT+WqD2mOum3hq+TQ1jFzIRn274P/ rRvI1JMW5i2g+ppXrossKajqwX7+0pvdMY7DRf7D1NtEjaHBpgVCwQjySwHwhNydlkju jdFVDBrpCQ3r4P9gWxIwUpoxqWeLgwsWK1S/YCsBKyg4Wif20/eGzvMdjo9QAO3g32sq nlYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nEyzOjd48jZpQ8nfs4vI6gdPTkJm5m3fvzCnxoXdus0=; b=sCnzPKdmVRSwaDO8dwITOAkBXqnXGUrihm53PdcoH/N3uC2wMbwncTTr443Ha9fUb5 8PefAh00k2Ri1BpOshRgj1+EE79Q/EGyXm28Q9dTpPVtMIqZeFsSdyQBfCpvdx/V1mmv upZhCT2J5GJDc/xStoXjBjo728bLxczI+ebDaiYrZf8bHClMCCJEqlao6b3BxwU/Vz6F vJ5OvK9uP1as3TvTKWeg9jcyereqKFPZq8m8XbBfVSfomWxTIPajsxruhMdIRZY5AgJM ANyLVDKxblHZE24W/41Dss7FDgi/U0ZSKRxEq/UiM02drK1GlYbBOeoRqNkAIl3qkpAX yKjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CudoBOfE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i2si690076eds.101.2020.04.14.09.05.00; Tue, 14 Apr 2020 09:05:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CudoBOfE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2388270AbgDNNxL (ORCPT + 99 others); Tue, 14 Apr 2020 09:53:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:42464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388218AbgDNNxI (ORCPT ); Tue, 14 Apr 2020 09:53:08 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 70CC120578; Tue, 14 Apr 2020 13:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586872387; bh=NMgaJWPe4RE4D3u/3SBXJpCKZ4XxNpOnSyZRc7k5tbU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CudoBOfEyjeqmmwvYEIPftXzpeUzw5+Cy6BUccfqOT3cIISFTCPazo7HfRSXpztoT NjE4RiM8deXAGQlf4/qdTKXYLTpng5umh65laz6DstCZmM4I+CJ5upNODbcrp9wrEV th/FI7taIOx+mDvhMHQcZxcEvIeuAaCJVi378o3Y= Date: Tue, 14 Apr 2020 21:53:00 +0800 From: Shawn Guo To: Anson Huang Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, abel.vesa@nxp.com, l.stach@pengutronix.de, peng.fan@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] soc: imx8m: No need to put node when of_find_compatible_node() failed Message-ID: <20200414135259.GG30676@dragon> References: <1584409053-23116-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584409053-23116-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2020 at 09:37:33AM +0800, Anson Huang wrote: > No need to put node when of_find_compatible_node() failed, return > immediately to simplify the code. > > Signed-off-by: Anson Huang Applied, thanks.