提交 cfd34ed8 编写于 作者: F Fengguang Wu 提交者: Mauro Carvalho Chehab

[media] i2c: fix platform_no_drv_owner.cocci warnings

drivers/media/i2c/tc358743.c:1960:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 543409a2
...@@ -1969,7 +1969,6 @@ MODULE_DEVICE_TABLE(i2c, tc358743_id); ...@@ -1969,7 +1969,6 @@ MODULE_DEVICE_TABLE(i2c, tc358743_id);
static struct i2c_driver tc358743_driver = { static struct i2c_driver tc358743_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "tc358743", .name = "tc358743",
}, },
.probe = tc358743_probe, .probe = tc358743_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册