Commit cc6b9dfb authored by YueHaibing's avatar YueHaibing Committed by Wolfram Sang

i2c: mt7621: 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 avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 998bcae4
...@@ -343,7 +343,6 @@ static struct platform_driver mtk_i2c_driver = { ...@@ -343,7 +343,6 @@ static struct platform_driver mtk_i2c_driver = {
.probe = mtk_i2c_probe, .probe = mtk_i2c_probe,
.remove = mtk_i2c_remove, .remove = mtk_i2c_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "i2c-mt7621", .name = "i2c-mt7621",
.of_match_table = i2c_mtk_dt_ids, .of_match_table = i2c_mtk_dt_ids,
}, },
......
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