summaryrefslogtreecommitdiff
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-10-17 10:41:00 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-10-17 11:44:16 +0300
commitc81ab80136727e11ad76a601b179d4dc84b08120 (patch)
tree76778dbd8193927483e09d37413ee75b4a725b5b /drivers/pci/controller
parentb492aca35c982011500377797d2e85b36fffda22 (diff)
downloadlinux-c81ab80136727e11ad76a601b179d4dc84b08120.tar.xz
PCI: keystone: Remove redundant platform_set_drvdata() invocation
No functional change. Remove redundant platform_set_drvdata() invocation in ks_pcie_probe(). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/dwc/pci-keystone.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c
index 337464d15775..926e345dc965 100644
--- a/drivers/pci/controller/dwc/pci-keystone.c
+++ b/drivers/pci/controller/dwc/pci-keystone.c
@@ -912,8 +912,6 @@ static int __init ks_pcie_probe(struct platform_device *pdev)
if (ret)
return ret;
- platform_set_drvdata(pdev, ks_pcie);
-
ret = ks_add_pcie_port(ks_pcie, pdev);
if (ret < 0)
goto fail_clk;