diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-29 05:44:21 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-07-06 18:04:32 +0300 |
commit | cc6b9dfb2c5769afeb3335048173c730bdf8dbe1 (patch) | |
tree | 17e09824b2965d2110f90f4d18b8c2cea30f27c9 /drivers/i2c | |
parent | 998bcae4d6267f9737d758dc648851318a29ddde (diff) | |
download | linux-cc6b9dfb2c5769afeb3335048173c730bdf8dbe1.tar.xz |
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: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-mt7621.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mt7621.c b/drivers/i2c/busses/i2c-mt7621.c index 2a1cb414766d..62df8379bc89 100644 --- a/drivers/i2c/busses/i2c-mt7621.c +++ b/drivers/i2c/busses/i2c-mt7621.c @@ -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, }, |