Skip to content

Commit 6554f95

Browse files
tpetazzoniLorenzo Pieralisi
authored andcommitted
PCI: mvebu: Remove redundant platform_set_drvdata() call
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>
1 parent ce397d2 commit 6554f95

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/pci/controller/pci-mvebu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,8 +1283,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
12831283

12841284
mvebu_pcie_enable(pcie);
12851285

1286-
platform_set_drvdata(pdev, pcie);
1287-
12881286
return 0;
12891287
}
12901288

0 commit comments

Comments
 (0)