[media] media/i2c: Delete owner assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 14 Aug 2016 20:20:26 +0000 (17:20 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Sep 2016 19:21:24 +0000 (16:21 -0300)
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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ad9389b.c
drivers/media/i2c/adv7183.c
drivers/media/i2c/adv7393.c
drivers/media/i2c/cs3308.c
drivers/media/i2c/s5k4ecgx.c
drivers/media/i2c/s5k6a3.c
drivers/media/i2c/ths8200.c
drivers/media/i2c/tlv320aic23b.c
drivers/media/i2c/tvp514x.c
drivers/media/i2c/tvp7002.c
drivers/media/i2c/vs6624.c

index 5fd23507c6d81c6f22d3773967c65f20f331358c..50f354144ee7120fb5145f3a0156604c9508862e 100644 (file)
@@ -1217,7 +1217,6 @@ MODULE_DEVICE_TABLE(i2c, ad9389b_id);
 
 static struct i2c_driver ad9389b_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "ad9389b",
        },
        .probe = ad9389b_probe,
index 2bec737881e9fbbfaa54a20cd62e4cf9a54f22d4..04eecda74d66af63cb3d0bc2d894742182e2e224 100644 (file)
@@ -644,7 +644,6 @@ MODULE_DEVICE_TABLE(i2c, adv7183_id);
 
 static struct i2c_driver adv7183_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adv7183",
        },
        .probe          = adv7183_probe,
index 76d987476e355b896913c3ebbbd4f9960cdcdbac..f19ad4ecd11ec6c0314b192e9e6910b2a1c8cb26 100644 (file)
@@ -456,7 +456,6 @@ MODULE_DEVICE_TABLE(i2c, adv7393_id);
 
 static struct i2c_driver adv7393_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adv7393",
        },
        .probe          = adv7393_probe,
index d28b4f37fe5f205a1a1c99bd1075bfd33bea1152..7da5f69cace66862fdd966319c418054836d016e 100644 (file)
@@ -127,7 +127,6 @@ MODULE_DEVICE_TABLE(i2c, cs3308_id);
 
 static struct i2c_driver cs3308_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "cs3308",
        },
        .probe          = cs3308_probe,
index 8a0f22da590ffe7f187e43bc4ba67438c16f9695..6ebcf254989a5237869b5d94b065a06fadc04d14 100644 (file)
@@ -1019,7 +1019,6 @@ MODULE_DEVICE_TABLE(i2c, s5k4ecgx_id);
 
 static struct i2c_driver v4l2_i2c_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name = S5K4ECGX_DRIVER_NAME,
        },
        .probe = s5k4ecgx_probe,
index cbe4711e9b31acfca212a8ef0a96867c03bb45fb..b1ecb44f9f1481ce1c29508ff6615fe881193c79 100644 (file)
@@ -376,7 +376,6 @@ static struct i2c_driver s5k6a3_driver = {
        .driver = {
                .of_match_table = of_match_ptr(s5k6a3_of_match),
                .name           = S5K6A3_DRV_NAME,
-               .owner          = THIS_MODULE,
        },
        .probe          = s5k6a3_probe,
        .remove         = s5k6a3_remove,
index 73fc42bc2de65accfcb9bee95fdaa253be5ca1d4..42340e364cea143eca370a9bbf25d08efe10367b 100644 (file)
@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, ths8200_of_match);
 
 static struct i2c_driver ths8200_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "ths8200",
                .of_match_table = of_match_ptr(ths8200_of_match),
        },
index 0370dd89f1fcd840e28fe89fde7847d14bbb54b0..2e06c06cac9baafca1f415ea87fd92830731eabe 100644 (file)
@@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id);
 
 static struct i2c_driver tlv320aic23b_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tlv320aic23b",
        },
        .probe          = tlv320aic23b_probe,
index 7cdd94842938e6d923fc9ed209f98556e242a9bc..7cf749fc7143497c2ce2950c8bb8d8635cb4452c 100644 (file)
@@ -1233,7 +1233,6 @@ MODULE_DEVICE_TABLE(of, tvp514x_of_match);
 static struct i2c_driver tvp514x_driver = {
        .driver = {
                .of_match_table = of_match_ptr(tvp514x_of_match),
-               .owner = THIS_MODULE,
                .name = TVP514X_MODULE_NAME,
        },
        .probe = tvp514x_probe,
index 4df640c3aa40fde3eecf4206233e1aa04745f12d..3dc3341c48961907f8c26fa5b2a21b58a014e339 100644 (file)
@@ -1086,7 +1086,6 @@ MODULE_DEVICE_TABLE(of, tvp7002_of_match);
 static struct i2c_driver tvp7002_driver = {
        .driver = {
                .of_match_table = of_match_ptr(tvp7002_of_match),
-               .owner = THIS_MODULE,
                .name = TVP7002_MODULE_NAME,
        },
        .probe = tvp7002_probe,
index 4c72a18c0b8c8a9facd75a94d6d3a743d041c917..be4cb7a8bdebec1c1df3463dba4bd1aa7378f289 100644 (file)
@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(i2c, vs6624_id);
 
 static struct i2c_driver vs6624_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "vs6624",
        },
        .probe          = vs6624_probe,