Commit 949abce6 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mauro Carvalho Chehab

media: ov5695: Remove owner assignment from i2c_driver

Structure i2c_driver does not need to set the owner field, as this will
be populated by the driver core.

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

Cc: Shunqian Zheng <zhengsq@rock-chips.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 0a8b9993
...@@ -1385,7 +1385,6 @@ MODULE_DEVICE_TABLE(of, ov5695_of_match); ...@@ -1385,7 +1385,6 @@ MODULE_DEVICE_TABLE(of, ov5695_of_match);
static struct i2c_driver ov5695_i2c_driver = { static struct i2c_driver ov5695_i2c_driver = {
.driver = { .driver = {
.name = "ov5695", .name = "ov5695",
.owner = THIS_MODULE,
.pm = &ov5695_pm_ops, .pm = &ov5695_pm_ops,
.of_match_table = of_match_ptr(ov5695_of_match), .of_match_table = of_match_ptr(ov5695_of_match),
}, },
......
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