projects
/
GitHub
/
LineageOS
/
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:
e6f3115
)
PCI: artpec6: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:57 +0000
(13:30 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 01:45:31 +0000
(20:45 -0500)
The artpec6 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>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/pci/host/pcie-artpec6.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-artpec6.c
b/drivers/pci/host/pcie-artpec6.c
index ef2f04f5b24c68aec3227eb097972697b2064401..9423bf00b4c625d211ddcd10bf1428262cf3b28b 100644
(file)
--- a/
drivers/pci/host/pcie-artpec6.c
+++ b/
drivers/pci/host/pcie-artpec6.c
@@
-262,7
+262,6
@@
static int artpec6_pcie_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- platform_set_drvdata(pdev, artpec6_pcie);
return 0;
}