projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998bcae
)
i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Sat, 29 Jun 2019 02:44:21 +0000
(
02:44
+0000)
committer
Wolfram Sang
<wsa@the-dreams.de>
Sat, 6 Jul 2019 15:04:32 +0000
(17:04 +0200)
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>
drivers/i2c/busses/i2c-mt7621.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-mt7621.c
b/drivers/i2c/busses/i2c-mt7621.c
index 2a1cb414766d741c94447996185ea24f3b71a5f6..62df8379bc8950952e84fc5fdcd412327a6500e7 100644
(file)
--- 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,
},