summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2014-11-18 19:18:20 +0300
committerBjorn Helgaas <bhelgaas@google.com>2014-12-27 02:25:11 +0300
commit80f6d910dc46f4df91a6f0a52d94e025c053987b (patch)
tree9d91e17874037b2e53c055656eb17bd1fbb7077f /drivers/pci
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-80f6d910dc46f4df91a6f0a52d94e025c053987b.tar.xz
PCI: layerscape: Fix platform_no_drv_owner.cocci warnings
No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pci-layerscape.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
index 6697b1a4d4fa..68c9e5e9b0a8 100644
--- a/drivers/pci/host/pci-layerscape.c
+++ b/drivers/pci/host/pci-layerscape.c
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match);
static struct platform_driver ls_pcie_driver = {
.driver = {
.name = "layerscape-pcie",
- .owner = THIS_MODULE,
.of_match_table = ls_pcie_of_match,
},
};