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:
88790f9
)
PCI: hisi: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:34:25 +0000
(13:34 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 02:38:45 +0000
(21:38 -0500)
The hisi 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-hisi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-hisi.c
b/drivers/pci/host/pcie-hisi.c
index 1c0802862b5d10ec7e424ce75c1aa00c167b4785..d4a5812d5f14b2b9403e049805381245b138b2ed 100644
(file)
--- a/
drivers/pci/host/pcie-hisi.c
+++ b/
drivers/pci/host/pcie-hisi.c
@@
-210,8
+210,6
@@
static int hisi_pcie_probe(struct platform_device *pdev)
if (ret)
return ret;
- platform_set_drvdata(pdev, hisi_pcie);
-
dev_warn(dev, "only 32-bit config accesses supported; smaller writes may corrupt adjacent RW1C fields\n");
return 0;