From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8565E17E00B for ; Thu, 22 Aug 2024 23:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724367957; cv=none; b=eBs67qFyU3nnb4x59ECeDvfnwJ+MYzkZcqCns/GTlPXuWlsjs59SBe9ze4OIjCK4q5D6UNNQWBrkDIhXG5W5AQeyB78TmT4X0VbBZPMu1WhSUUhFRhS+4gNu3uPjpAL+m9tvVbpbQtNLh+zcrVcRK7cjkgD8oU6NWGshvy8JM+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724367957; c=relaxed/simple; bh=0UwZyyLar1BwsnyIRRFg05dZZczkW5Zi6NVmIIa4Q+I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sPP6EznkRPZifyD1O82SGxt2Osz5OXkpRGPFc978H0K7Y2ygqG1eia9cDrT5b4Iy81dK/Qe+/8JhfBSyCEEBPY4Yk9J9p+EQxYXuMPdto03t7W+6um65KA/qZ2D4SFXS5s/R1rb8GMhEIjrcYwWgK5iQ7G6k5a/tzuK/v/BDqTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-25-87.elisa-laajakaista.fi [88.113.25.87]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 140caedf-60db-11ef-8e3a-005056bd6ce9; Fri, 23 Aug 2024 02:05:52 +0300 (EEST) From: Andy Shevchenko To: Julien Panis , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Andy Shevchenko Subject: [PATCH net-next v1 1/1] net: ethernet: ti: am65-cpsw-nuss: Replace of_node_to_fwnode() with more suitable API Date: Fri, 23 Aug 2024 02:05:50 +0300 Message-ID: <20240822230550.708112-1-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit of_node_to_fwnode() is a IRQ domain specific implementation of of_fwnode_handle(). Replace the former with more suitable API. Signed-off-by: Andy Shevchenko --- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c b/drivers/net/ethernet/ti/am65-cpsw-nuss.c index 81d9f21086ec..555aca4ffa24 100644 --- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c +++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c @@ -2761,7 +2761,7 @@ am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) } phylink = phylink_create(&port->slave.phylink_config, - of_node_to_fwnode(port->slave.port_np), + of_fwnode_handle(port->slave.port_np), port->slave.phy_if, &am65_cpsw_phylink_mac_ops); if (IS_ERR(phylink)) -- 2.46.0