projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5acb5c
)
PCI: qcom: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:39:38 +0000
(13:39 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 04:22:45 +0000
(23:22 -0500)
The qcom driver never uses the platform drvdata pointer, so don't bother
setting it. No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-qcom.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pcie-qcom.c
b/drivers/pci/host/pcie-qcom.c
index 5ec2d440a6b724b741a08db4d142f80b131c182f..51bb0a975459b53d6533b5bcf7f77813079e7b82 100644
(file)
--- a/
drivers/pci/host/pcie-qcom.c
+++ b/
drivers/pci/host/pcie-qcom.c
@@
-569,8
+569,6
@@
static int qcom_pcie_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, pcie);
-
return 0;
}