From nobody Thu Oct 2 03:34:10 2025 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (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 58D12288512; Wed, 24 Sep 2025 07:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758699989; cv=none; b=a1tdnd69f68IujeiJEq/Ttdt6YrNU2Kd824LOoZzs6QzzD6jlEp0FMlvYdWLEo/YTh8bymqYDIHeVSOPKKxhcZwKDNdSMMFVRyMfEfFPl7QixT6hKutXb9bfWrIxbOyMnqcim0oGMJX1RrfNGZ22IKAigl023Ns+gNilYFt4GnM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758699989; c=relaxed/simple; bh=cf6lF7LyfM0LBjXxUF4rOsMMBytA+CYr8xHGZ4FGSls=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L8iwYEWWBY9l5WlNWJ3WbgPtzgSCAuiyYZ9N6XOQTWebj8Ff90Wg/le4veydb8EJ2q4XxbH1G6I9Bzo7/54z3Nm4EFW4fdqpin/gSHtkB0EN/edhjJdIXgY243MVC20dyhmVoInqf0rpxvobiFWb03DGwfyWKol+CCjQJQkfLlw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JwGIHt3h; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JwGIHt3h" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1758699987; x=1790235987; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cf6lF7LyfM0LBjXxUF4rOsMMBytA+CYr8xHGZ4FGSls=; b=JwGIHt3hPS4fkG6CwJOReDmeL7W0Y1uTnzaZ7hCKHHRng1CqTw2Pn0S/ gt9aaxq+oTvno9bY8Hi770AgFreEWPfKf2KPc/hoT9zjF1Q9aqirK6AMC SqR5Vx5AcUP5PKU5sGbl4PrKN+nqecL3w6Jpyw+jI9D5nwPR2U5/TloeO g57kEU+rcrrOMPHemF/ICpFCbD5pQZlOKvTU4551iNMkmjEHiuQiHLOQZ pYZs8oQrqA0Qne9eKjFKroc4jCxP+GpzbJh4CaBT1jcet91ZYlusr4W48 8WkMXW3UYpqE8tPpX84lRwdUZVgJ8LqUvRSbBNiTGs34Eb8JOi8sQuWtR Q==; X-CSE-ConnectionGUID: kAPoBRqnRiaamu0i1fbjHQ== X-CSE-MsgGUID: 1U/m7iRRQh6QwGPeAPUFIw== X-IronPort-AV: E=McAfee;i="6800,10657,11561"; a="61101919" X-IronPort-AV: E=Sophos;i="6.18,290,1751266800"; d="scan'208";a="61101919" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2025 00:46:24 -0700 X-CSE-ConnectionGUID: gKeYukLbS/SvV6GFWp/bTQ== X-CSE-MsgGUID: NJ7DhTidRr21pUzOmcQ97w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,290,1751266800"; d="scan'208";a="200668536" Received: from sschumil-mobl2.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.245.128]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2025 00:46:16 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id AA074121F10; Wed, 24 Sep 2025 10:46:02 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1v1KCQ-000000017IV-2nEt; Wed, 24 Sep 2025 10:46:02 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-spi@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , Danilo Krummrich , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Javier Carrasco , Dmitry Torokhov , Lee Jones , Pavel Machek , Matthias Fend , Chanwoo Choi , Krzysztof Kozlowski , Laurent Pinchart , Paul Elder , Mauro Carvalho Chehab , Horatiu Vultur , UNGLinuxDriver@microchip.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Mark Brown , Thomas Gleixner , Ingo Molnar , Jonathan Cameron Subject: [PATCH v2 10/16] net: lan966x: Use fwnode_for_each_child_node() instead Date: Wed, 24 Sep 2025 10:45:56 +0300 Message-ID: <20250924074602.266292-11-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250924074602.266292-1-sakari.ailus@linux.intel.com> References: <20250924074602.266292-1-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" fwnode_for_each_child_node() is now the same as fwnode_for_each_available_child_node() on all backends (OF, ACPI and swnode). In order to remove the available variants, switch the uses to non-available variants. Signed-off-by: Sakari Ailus Reviewed-by: Jonathan Cameron Reviewed-by: Laurent Pinchart --- drivers/net/ethernet/microchip/lan966x/lan966x_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c b/driver= s/net/ethernet/microchip/lan966x/lan966x_main.c index 7001584f1b7a..e8f9bf96a63b 100644 --- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c @@ -1190,7 +1190,7 @@ static int lan966x_probe(struct platform_device *pdev) lan966x_stats_init(lan966x); =20 /* go over the child nodes */ - fwnode_for_each_available_child_node(ports, portnp) { + fwnode_for_each_child_node(ports, portnp) { phy_interface_t phy_mode; struct phy *serdes; u32 p; --=20 2.47.3