summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-03 16:38:43 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-08-08 15:49:52 +0100
commit6554f9501915101ba89aab6e40c83139d23f853a (patch)
tree8ccc839998b210b865e181deea9d5bfac77cb3af
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
downloadlinux-stable-6554f9501915101ba89aab6e40c83139d23f853a.tar.gz
linux-stable-6554f9501915101ba89aab6e40c83139d23f853a.tar.bz2
linux-stable-6554f9501915101ba89aab6e40c83139d23f853a.zip
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>
-rw-r--r--drivers/pci/controller/pci-mvebu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c
index 23e270839e6a..38fa2d08527d 100644
--- a/drivers/pci/controller/pci-mvebu.c
+++ b/drivers/pci/controller/pci-mvebu.c
@@ -1283,8 +1283,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
mvebu_pcie_enable(pcie);
- platform_set_drvdata(pdev, pcie);
-
return 0;
}