projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5acb5c
)
PCI: armada: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:01 +0000
(13:30 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 01:03:22 +0000
(20:03 -0500)
The armada 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>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pcie-armada8k.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-armada8k.c
b/drivers/pci/host/pcie-armada8k.c
index 0f4f570068e3d74f4e4aff4ed78f6bc356f7c319..b97ba975dee4a5f8023e29c9ba8874caad4f3992 100644
(file)
--- a/
drivers/pci/host/pcie-armada8k.c
+++ b/
drivers/pci/host/pcie-armada8k.c
@@
-217,7
+217,6
@@
static int armada8k_pcie_probe(struct platform_device *pdev)
pp = &pcie->pp;
pp->dev = dev;
- platform_set_drvdata(pdev, pcie);
/* Get the dw-pcie unit configuration/control registers base. */
base = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl");