From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.171.202.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793721428; b=i30sKQpmeSozoDfp5zC8CVsuPckbjAG5/zPRUBM3L+aX7OW9pbqYfEag2mbRwlPtojGA uWFkPCwGqKSWyoZBnXAzclJZmMhVASLApa6m1n3Vqg0C66YgmPBL7V8iuIH1zgN5upyhG H6nWQlTh2H+HMv29AjEWBRANne0LTod9suH/aUWCsXXTcnC2alrpF//IxtwNV7Brt/jzg UUhj9P0LBg6n1XGXeUPSy/d3U7gywcic/9x4M+X34sLCLI4hymf39bjyzuzkvfcj4WlIh NeKuFBNQgU5A2dFdRA+FEjtfAC1sEWupfwGvvL/+a4ytboh6pLhyJBU0lV64DOMlwnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793721428; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=9huySexIE7G5tA6hmPj8P1mKkf4ZSFRtfV1gR+tEABs=; b=f0KsTIoZNZ8dBIbhr7xG+8maNQAGh5l0riMyqdiLtN0iaHvkzGjVW4HFdvb3M87dO+6B u2+SuPasrJ6gFRqF+OOj9thMJBNI7LbhOjizK1He285l18zH70/h4otKX72O5AcLoo8N2 tLvGuhDY5dUgr/NKyWXNR4rWZDjS2hdvVOr8e7B/T7cnXv3t23M5C+fGDzoKv7DKkPHpk yQZCK0I4LZg8UT+feSwplVXu1DzCP8OC/NjRGtOaFoA/iBj9r8vEqQ+NxuDw4+IFl21lh Jd1x9RtDsEadycQxW8XRT3YbLF07wzU5A1MZJ64k63v9+K/+W5+GXyJPkxBo/wAPZ7g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=cN2Tm5hv; arc=none smtp.remote-ip=185.171.202.116 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C65E606A327; Tue, 3 Nov 2026 15:57:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3C65E606A327 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, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=cN2Tm5hv Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 73CFAC49F46; Tue, 3 Nov 2026 15:58:11 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D729E6046C; Tue, 3 Nov 2026 15:57:06 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 78F6F103291D1; Tue, 3 Nov 2026 16:56:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1793721420; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=9huySexIE7G5tA6hmPj8P1mKkf4ZSFRtfV1gR+tEABs=; b=cN2Tm5hvRvIMR42uyOg0meJFr5RfZaEu7dUe69xE7zGIIqkyduL8G0Wgo9lJBlL17We1mi uCimc/JtxLPUYffXJdJ3R8ko2G1T+Okz4xsDuowzdmAFznsjcZ8cUrpY014e7IMFaM7uUe XA+0p4oAw/94Yi0XElIwF3pJAfxTeceTuK44ST5httmWSOhJItYnnA8DOnr6ZokQ+2JWc/ sQYsOMJaltmTypFdum5y9TjSt9MkXbB0v6llqlfhmLeoAgBh13y43azxbxuyVZECFBd4Up oJMwkbseTcqQCtwiO5sLccAY+I5HetcP050C2Wo+mvFugpwGfzQRoGxjpRyySw== From: Herve Codina To: Abdurrahman Hussain , Richard Cheng , Andrew Lunn , Rob Herring , Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Johan Hovold , Bjorn Helgaas , David Rhodes , Richard Fitzgerald , Charles Keepax , Linus Walleij , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Bartosz Golaszewski , Len Brown , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams , Ira Weiny , Li Ming , Herve Codina , Lizhi Hou 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, Manivannan Sadhasivam , Bartosz Golaszewski Subject: [PATCH v14 06/10] PCI: of: Use fw_devlink_set_device() Date: Tue, 3 Nov 2026 16:55:12 +0100 Message-ID: <20261103155540.365294-7-herve.codina@bootlin.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261103155540.365294-1-herve.codina@bootlin.com> References: <20261103155540.365294-1-herve.codina@bootlin.com> X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 Reviewed-by: Richard Cheng Acked-by: Manivannan Sadhasivam Reviewed-by: Bartosz Golaszewski Tested-by: Abdurrahman Hussain --- 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 a51dff91b196..0f45c5b72458 100644 --- a/drivers/pci/of.c +++ b/drivers/pci/of.c @@ -882,7 +882,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.56.0