提交 80f6d910 编写于 作者: J Julia Lawall 提交者: Bjorn Helgaas

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: NJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 97bf6af1
...@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match); ...@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match);
static struct platform_driver ls_pcie_driver = { static struct platform_driver ls_pcie_driver = {
.driver = { .driver = {
.name = "layerscape-pcie", .name = "layerscape-pcie",
.owner = THIS_MODULE,
.of_match_table = ls_pcie_of_match, .of_match_table = ls_pcie_of_match,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册