Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01856d1d authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie



The DesignWare core already stores the struct device pointer in struct
pcie_port.  Remove the redundant copy from struct dra7xx_pcie.dev.  No
functional change intended.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent c7f8146b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ struct dra7xx_pcie {
	void __iomem		*base;
	struct phy		**phy;
	int			phy_count;
	struct device		*dev;
	struct pcie_port	pp;
};

@@ -390,7 +389,6 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)

	dra7xx->base = base;
	dra7xx->phy = phy;
	dra7xx->dev = dev;
	dra7xx->phy_count = phy_count;

	pm_runtime_enable(dev);