Commit a351e7fb authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

net: ipa: fix platform_no_drv_owner.cocci warnings

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 avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ab10bb8
...@@ -942,7 +942,6 @@ static struct platform_driver ipa_driver = { ...@@ -942,7 +942,6 @@ static struct platform_driver ipa_driver = {
.remove = ipa_remove, .remove = ipa_remove,
.driver = { .driver = {
.name = "ipa", .name = "ipa",
.owner = THIS_MODULE,
.pm = &ipa_pm_ops, .pm = &ipa_pm_ops,
.of_match_table = ipa_match, .of_match_table = ipa_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