Commit 1d7b47a3 authored by Wei Yongjun's avatar Wei Yongjun Committed by 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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment