Commit ba74278c authored by Marc Zyngier's avatar Marc Zyngier Committed by Bjorn Helgaas
Browse files

Revert "PCI: ecam: Allow cfg->priv to be pre-populated from the root port device"



This reverts commit 4900454b.

Now that nobody relies of cfg->priv containing anything useful before the
.init() callback is used, restore the previous behaviour.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250625111806.4153773-4-maz@kernel.org
parent bdb32a0f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -84,8 +84,6 @@ struct pci_config_window *pci_ecam_create(struct device *dev,
			goto err_exit_iomap;
	}

	cfg->priv = dev_get_drvdata(dev);

	if (ops->init) {
		err = ops->init(cfg);
		if (err)