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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6541C38142 for ; Fri, 27 Jan 2023 09:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233217AbjA0JpH (ORCPT ); Fri, 27 Jan 2023 04:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbjA0JpE (ORCPT ); Fri, 27 Jan 2023 04:45:04 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8A56761F9; Fri, 27 Jan 2023 01:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674812703; x=1706348703; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qVG3SO3/mw1Za7KIPJqbPMkWrirnnDCNx1aYcVedBMY=; b=VmoFcCYL/V5hZ4+O+K0sTip9tuFwjzGmtekPy9372nVufBYyAS7bzuPF P2ooTJBTOief0Il0obQrpjHBi2hadWpcBJoXwV9l/NM0Xg/xILDL2EWKb K+ZPctdO4KggQNIEmwcBertcJtjbVm0UbdFbU5Jx3qFeqUJgnvc+rofvI 0ZiLoQcDe8rsm5yBrsCp7zP24HYnSP8NCEUeIjvoQgoDOGonSLMl10PiT ejfGaDtXkJ80uu59biMXJGMzVBmDCR4sHRnAmBCVO3+xMiw/wJ0xv9CZ9 6D/bstbiq2/8XU/t7Q/Wm8ONQ4BCvW0sQqzBxWocV4z+5ZMBgjsZLp12I Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10602"; a="413277656" X-IronPort-AV: E=Sophos;i="5.97,250,1669104000"; d="scan'208";a="413277656" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2023 01:45:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10602"; a="908614631" X-IronPort-AV: E=Sophos;i="5.97,250,1669104000"; d="scan'208";a="908614631" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP; 27 Jan 2023 01:44:52 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pLLHs-00FtoI-1i; Fri, 27 Jan 2023 11:44:48 +0200 Date: Fri, 27 Jan 2023 11:44:48 +0200 From: Andy Shevchenko To: Geert Uytterhoeven Cc: Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Sudeep Holla , Cristian Marussi , Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Marc Zyngier , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Frank Rowand , Geert Uytterhoeven , Magnus Damm , Len Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus , Tony Lindgren , Linux Kernel Functional Testing , Naresh Kamboju , Abel Vesa , Alexander Stein , John Stultz , Doug Anderson , Guenter Roeck , Dmitry Baryshkov , Maxim Kiselev , Maxim Kochetkov , Miquel Raynal , Luca Weiss , Colin Foster , Martin Kepplinger , Jean-Philippe Brucker , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v2 03/11] soc: renesas: Move away from using OF_POPULATED for fw_devlink Message-ID: References: <20230127001141.407071-1-saravanak@google.com> <20230127001141.407071-4-saravanak@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 27, 2023 at 10:30:35AM +0100, Geert Uytterhoeven wrote: > On Fri, Jan 27, 2023 at 10:25 AM Andy Shevchenko > wrote: > > On Thu, Jan 26, 2023 at 04:11:30PM -0800, Saravana Kannan wrote: ... > > > - of_node_set_flag(np, OF_POPULATED); > > > + fwnode_dev_initialized(&np->fwnode, true); > > > > of_fwnode_handle(np) ? > > Or of_node_to_fwnode(). Not really. > Looks like we have (at least) two of them... Yes, and the latter one is IRQ subsystem invention. Should gone in favour of the generic helper. -- With Best Regards, Andy Shevchenko