projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aec2fe
)
PCI: aardvark: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:27:46 +0000
(13:27 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 00:44:04 +0000
(19:44 -0500)
The aardvark 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/pci-aardvark.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pci-aardvark.c
b/drivers/pci/host/pci-aardvark.c
index 16421d1fcd44ebe5178fb007069e2f77c49e9681..4fce494271cc60387c08d5675caa474047727854 100644
(file)
--- a/
drivers/pci/host/pci-aardvark.c
+++ b/
drivers/pci/host/pci-aardvark.c
@@
-926,7
+926,6
@@
static int advk_pcie_probe(struct platform_device *pdev)
return -ENOMEM;
pcie->pdev = pdev;
- platform_set_drvdata(pdev, pcie);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
pcie->base = devm_ioremap_resource(dev, res);