PCI: mvebu: Remove redundant platform_set_drvdata() call
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 3 Aug 2018 14:38:43 +0000 (16:38 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 8 Aug 2018 14:49:52 +0000 (15:49 +0100)
This is already done earlier in mvebu_pcie_probe().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pci-mvebu.c

index 23e270839e6a8fe666646034052629c28511f83d..38fa2d08527d98e454f536280d67d093c890d956 100644 (file)
@@ -1283,8 +1283,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
 
        mvebu_pcie_enable(pcie);
 
-       platform_set_drvdata(pdev, pcie);
-
        return 0;
 }