Skip to content

Commit

Permalink
i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
YueHaibing authored and Wolfram Sang committed Jul 6, 2019
1 parent 998bcae commit cc6b9df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-mt7621.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ static struct platform_driver mtk_i2c_driver = {
.probe = mtk_i2c_probe,
.remove = mtk_i2c_remove,
.driver = {
.owner = THIS_MODULE,
.name = "i2c-mt7621",
.of_match_table = i2c_mtk_dt_ids,
},
Expand Down

0 comments on commit cc6b9df

Please sign in to comment.