From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 1171842A7AE for ; Fri, 17 Jul 2026 14:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784299980; cv=none; b=Q7/rj1lqR7Yn68TL7Vy5+/1a5KITFpbGZrqDtHccDnI5uxC4jGRqlbJ9YPLyUL3F40hDu6CNFLgBvbfkN/xtBVHow9HJkgP4pXD6h13Jk1u1kWbsIXpGTJXqzWx8Ujv9wGScYIWEq+8REjDnARBvQvnW4nlqrgd3NQPu341ahYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784299980; c=relaxed/simple; bh=jhqCf8H4bFnautpNQAv2PA8MpMIhyVdDLf0W2o3pAYw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sR7foMgpotfGgntML1eQb9huCWr6MHZwZbVEIov23/c0cCdCoSLiJP46lOpjpVK4PRfZYhfZXHvAi1n2q/wcmiUCd7xRj/OY0ULmQ6FI+TIjPoC9oA6tGQfSZ85JWtHW5N/+u5iFGvoIhpVy4RZzf8PwDAKoXo7tSs2INfQY+bA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=hDwfSEWY; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hDwfSEWY" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id C16644E40E1A; Fri, 17 Jul 2026 14:52:46 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 93C3760361; Fri, 17 Jul 2026 14:52:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2101411BD0B40; Fri, 17 Jul 2026 16:52:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784299964; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=QLE1yq7MLmvt1xlxQRse3Cefa2hzudSIrfsMyNRzjcI=; b=hDwfSEWY/l7NFKeBoIwPDKleT+R3IGz4Jk1ykcPFrG1vJLqkWGUkw0D/tLyjMsMgeNt+WJ zOjDL5OVE2aYSs2YVT2bLvO6+zg2EOCmOrwVNzAEUsY7Whqk42hf8ZzbO9Z8AhbX6nKqjE 1gnPBpIrULfE3Nv68cIAFcA0zIqkgIALcynqUOlBIWVjl6eOz4MqK7jYjxpnoj7HbD2xJT uLYQ4zqJ6nW8qgBifjG98z8DBlfkGDMeQToH5+4lxnFgLibhOPVvsD4WeHBEMcjRYdjZar 0PpCDdPc9VWLRVHZANlWp3aOPMOjNu4JCsc0qS2pO9e66jk9qMO3PI6tm56xbg== From: Herve Codina To: Richard Cheng , Andrew Lunn , Rob Herring , Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Bjorn Helgaas , David Rhodes , Richard Fitzgerald , Charles Keepax , Linus Walleij , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams , Ira Weiny , Li Ming , Lizhi Hou , Herve Codina Cc: driver-core@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Daniel Machon , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni , stable@vger.kernel.org Subject: [PATCH v10 06/10] PCI: of: Use fw_devlink_set_device() Date: Fri, 17 Jul 2026 16:51:41 +0200 Message-ID: <20260717145147.823749-7-herve.codina@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260717145147.823749-1-herve.codina@bootlin.com> References: <20260717145147.823749-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: driver-core@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 The code set directly fwnode.dev field. Use the dedicated fw_devlink_set_device() helper to perform this operation. Cc: stable@vger.kernel.org Signed-off-by: Herve Codina Reviewed-by: Andy Shevchenko Acked-by: Bjorn Helgaas --- Cc stable because used by other patches with Fixes + Cc stable --- drivers/pci/of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/of.c b/drivers/pci/of.c index 8b18c4ba845c..ee9eb384b377 100644 --- a/drivers/pci/of.c +++ b/drivers/pci/of.c @@ -803,7 +803,7 @@ void of_pci_make_host_bridge_node(struct pci_host_bridge *bridge) * bus. Avoid any new device creation. */ of_node_set_flag(np, OF_POPULATED); - np->fwnode.dev = &bridge->dev; + fw_devlink_set_device(&np->fwnode, &bridge->dev); fwnode_dev_initialized(&np->fwnode, true); ret = of_changeset_apply(cset); -- 2.55.0