提交 1d7b47a3 编写于 作者: W Wei Yongjun 提交者: David S. Miller

net: emac: remove .owner field for driver

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7e5eded5
...@@ -730,7 +730,6 @@ static struct platform_driver emac_platform_driver = { ...@@ -730,7 +730,6 @@ static struct platform_driver emac_platform_driver = {
.probe = emac_probe, .probe = emac_probe,
.remove = emac_remove, .remove = emac_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "qcom-emac", .name = "qcom-emac",
.of_match_table = emac_dt_match, .of_match_table = emac_dt_match,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册