forked from Minki/linux
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>
This commit is contained in:
parent
97bf6af1f9
commit
80f6d910dc
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user