Skip to content

Commit

Permalink
PCI: layerscape: Fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julia Lawall authored and Bjorn Helgaas committed Dec 26, 2014
1 parent 97bf6af commit 80f6d91
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pci-layerscape.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down

0 comments on commit 80f6d91

Please sign in to comment.