Commit 43c784aa authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab

[media] media/i2c: Delete owner assignment

The field "owner" is set by core. Thus delete an extra initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e62c30e7
...@@ -1217,7 +1217,6 @@ MODULE_DEVICE_TABLE(i2c, ad9389b_id); ...@@ -1217,7 +1217,6 @@ MODULE_DEVICE_TABLE(i2c, ad9389b_id);
static struct i2c_driver ad9389b_driver = { static struct i2c_driver ad9389b_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "ad9389b", .name = "ad9389b",
}, },
.probe = ad9389b_probe, .probe = ad9389b_probe,
......
...@@ -644,7 +644,6 @@ MODULE_DEVICE_TABLE(i2c, adv7183_id); ...@@ -644,7 +644,6 @@ MODULE_DEVICE_TABLE(i2c, adv7183_id);
static struct i2c_driver adv7183_driver = { static struct i2c_driver adv7183_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "adv7183", .name = "adv7183",
}, },
.probe = adv7183_probe, .probe = adv7183_probe,
......
...@@ -456,7 +456,6 @@ MODULE_DEVICE_TABLE(i2c, adv7393_id); ...@@ -456,7 +456,6 @@ MODULE_DEVICE_TABLE(i2c, adv7393_id);
static struct i2c_driver adv7393_driver = { static struct i2c_driver adv7393_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "adv7393", .name = "adv7393",
}, },
.probe = adv7393_probe, .probe = adv7393_probe,
......
...@@ -127,7 +127,6 @@ MODULE_DEVICE_TABLE(i2c, cs3308_id); ...@@ -127,7 +127,6 @@ MODULE_DEVICE_TABLE(i2c, cs3308_id);
static struct i2c_driver cs3308_driver = { static struct i2c_driver cs3308_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "cs3308", .name = "cs3308",
}, },
.probe = cs3308_probe, .probe = cs3308_probe,
......
...@@ -1019,7 +1019,6 @@ MODULE_DEVICE_TABLE(i2c, s5k4ecgx_id); ...@@ -1019,7 +1019,6 @@ MODULE_DEVICE_TABLE(i2c, s5k4ecgx_id);
static struct i2c_driver v4l2_i2c_driver = { static struct i2c_driver v4l2_i2c_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = S5K4ECGX_DRIVER_NAME, .name = S5K4ECGX_DRIVER_NAME,
}, },
.probe = s5k4ecgx_probe, .probe = s5k4ecgx_probe,
......
...@@ -376,7 +376,6 @@ static struct i2c_driver s5k6a3_driver = { ...@@ -376,7 +376,6 @@ static struct i2c_driver s5k6a3_driver = {
.driver = { .driver = {
.of_match_table = of_match_ptr(s5k6a3_of_match), .of_match_table = of_match_ptr(s5k6a3_of_match),
.name = S5K6A3_DRV_NAME, .name = S5K6A3_DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = s5k6a3_probe, .probe = s5k6a3_probe,
.remove = s5k6a3_remove, .remove = s5k6a3_remove,
......
...@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, ths8200_of_match); ...@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, ths8200_of_match);
static struct i2c_driver ths8200_driver = { static struct i2c_driver ths8200_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "ths8200", .name = "ths8200",
.of_match_table = of_match_ptr(ths8200_of_match), .of_match_table = of_match_ptr(ths8200_of_match),
}, },
......
...@@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); ...@@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id);
static struct i2c_driver tlv320aic23b_driver = { static struct i2c_driver tlv320aic23b_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "tlv320aic23b", .name = "tlv320aic23b",
}, },
.probe = tlv320aic23b_probe, .probe = tlv320aic23b_probe,
......
...@@ -1233,7 +1233,6 @@ MODULE_DEVICE_TABLE(of, tvp514x_of_match); ...@@ -1233,7 +1233,6 @@ MODULE_DEVICE_TABLE(of, tvp514x_of_match);
static struct i2c_driver tvp514x_driver = { static struct i2c_driver tvp514x_driver = {
.driver = { .driver = {
.of_match_table = of_match_ptr(tvp514x_of_match), .of_match_table = of_match_ptr(tvp514x_of_match),
.owner = THIS_MODULE,
.name = TVP514X_MODULE_NAME, .name = TVP514X_MODULE_NAME,
}, },
.probe = tvp514x_probe, .probe = tvp514x_probe,
......
...@@ -1086,7 +1086,6 @@ MODULE_DEVICE_TABLE(of, tvp7002_of_match); ...@@ -1086,7 +1086,6 @@ MODULE_DEVICE_TABLE(of, tvp7002_of_match);
static struct i2c_driver tvp7002_driver = { static struct i2c_driver tvp7002_driver = {
.driver = { .driver = {
.of_match_table = of_match_ptr(tvp7002_of_match), .of_match_table = of_match_ptr(tvp7002_of_match),
.owner = THIS_MODULE,
.name = TVP7002_MODULE_NAME, .name = TVP7002_MODULE_NAME,
}, },
.probe = tvp7002_probe, .probe = tvp7002_probe,
......
...@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(i2c, vs6624_id); ...@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(i2c, vs6624_id);
static struct i2c_driver vs6624_driver = { static struct i2c_driver vs6624_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "vs6624", .name = "vs6624",
}, },
.probe = vs6624_probe, .probe = vs6624_probe,
......
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