projects
/
platform
/
kernel
/
linux-rpi3.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
|
history
diff --git
a/drivers/pci/host/pcie-hisi.c
b/drivers/pci/host/pcie-hisi.c
index
1c08028
..
d4a5812
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;