[media] i2c: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:19:44 +0000 (03:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 16:00:15 +0000 (13:00 -0300)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
42 files changed:
drivers/media/i2c/adv7170.c
drivers/media/i2c/adv7175.c
drivers/media/i2c/adv7180.c
drivers/media/i2c/adv7343.c
drivers/media/i2c/adv7511.c
drivers/media/i2c/adv7604.c
drivers/media/i2c/adv7842.c
drivers/media/i2c/bt819.c
drivers/media/i2c/bt856.c
drivers/media/i2c/bt866.c
drivers/media/i2c/cs5345.c
drivers/media/i2c/cs53l32a.c
drivers/media/i2c/cx25840/cx25840-core.c
drivers/media/i2c/ks0127.c
drivers/media/i2c/m52790.c
drivers/media/i2c/msp3400-driver.c
drivers/media/i2c/mt9v011.c
drivers/media/i2c/ov7640.c
drivers/media/i2c/ov7670.c
drivers/media/i2c/saa6588.c
drivers/media/i2c/saa6752hs.c
drivers/media/i2c/saa7110.c
drivers/media/i2c/saa7115.c
drivers/media/i2c/saa7127.c
drivers/media/i2c/saa717x.c
drivers/media/i2c/saa7185.c
drivers/media/i2c/sony-btf-mpx.c
drivers/media/i2c/tda7432.c
drivers/media/i2c/tda9840.c
drivers/media/i2c/tea6415c.c
drivers/media/i2c/tea6420.c
drivers/media/i2c/ths7303.c
drivers/media/i2c/tvaudio.c
drivers/media/i2c/tvp5150.c
drivers/media/i2c/tw9903.c
drivers/media/i2c/tw9906.c
drivers/media/i2c/upd64031a.c
drivers/media/i2c/upd64083.c
drivers/media/i2c/vp27smpx.c
drivers/media/i2c/vpx3220.c
drivers/media/i2c/wm8739.c
drivers/media/i2c/wm8775.c

index f0d3f5a..05f1dc6 100644 (file)
@@ -401,7 +401,6 @@ MODULE_DEVICE_TABLE(i2c, adv7170_id);
 
 static struct i2c_driver adv7170_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adv7170",
        },
        .probe          = adv7170_probe,
index 321834b..f554809 100644 (file)
@@ -455,7 +455,6 @@ MODULE_DEVICE_TABLE(i2c, adv7175_id);
 
 static struct i2c_driver adv7175_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adv7175",
        },
        .probe          = adv7175_probe,
index 09a96df..f82c8aa 100644 (file)
@@ -1336,7 +1336,6 @@ MODULE_DEVICE_TABLE(of, adv7180_of_id);
 
 static struct i2c_driver adv7180_driver = {
        .driver = {
-                  .owner = THIS_MODULE,
                   .name = KBUILD_MODNAME,
                   .pm = ADV7180_PM_OPS,
                   .of_match_table = of_match_ptr(adv7180_of_id),
index d272831..f89d0af 100644 (file)
@@ -522,7 +522,6 @@ MODULE_DEVICE_TABLE(of, adv7343_of_match);
 static struct i2c_driver adv7343_driver = {
        .driver = {
                .of_match_table = of_match_ptr(adv7343_of_match),
-               .owner  = THIS_MODULE,
                .name   = "adv7343",
        },
        .probe          = adv7343_probe,
index 95bcd40..ef198ce 100644 (file)
@@ -1576,7 +1576,6 @@ MODULE_DEVICE_TABLE(i2c, adv7511_id);
 
 static struct i2c_driver adv7511_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adv7511",
        },
        .probe = adv7511_probe,
index 2524184..5631ec0 100644 (file)
@@ -3262,7 +3262,6 @@ static int adv76xx_remove(struct i2c_client *client)
 
 static struct i2c_driver adv76xx_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adv7604",
                .of_match_table = of_match_ptr(adv76xx_of_id),
        },
index 897d68c..b7269b8 100644 (file)
@@ -3363,7 +3363,6 @@ MODULE_DEVICE_TABLE(i2c, adv7842_id);
 
 static struct i2c_driver adv7842_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adv7842",
        },
        .probe = adv7842_probe,
index 9b5187b..e00e310 100644 (file)
@@ -481,7 +481,6 @@ MODULE_DEVICE_TABLE(i2c, bt819_id);
 
 static struct i2c_driver bt819_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "bt819",
        },
        .probe          = bt819_probe,
index 7fc163d..4817659 100644 (file)
@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(i2c, bt856_id);
 
 static struct i2c_driver bt856_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "bt856",
        },
        .probe          = bt856_probe,
index a8bf10f..bbec70c 100644 (file)
@@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE(i2c, bt866_id);
 
 static struct i2c_driver bt866_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "bt866",
        },
        .probe          = bt866_probe,
index 8cebf9c..c7de979 100644 (file)
@@ -211,7 +211,6 @@ MODULE_DEVICE_TABLE(i2c, cs5345_id);
 
 static struct i2c_driver cs5345_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "cs5345",
        },
        .probe          = cs5345_probe,
index 27400c1..b7e87e3 100644 (file)
@@ -228,7 +228,6 @@ MODULE_DEVICE_TABLE(i2c, cs53l32a_id);
 
 static struct i2c_driver cs53l32a_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "cs53l32a",
        },
        .probe          = cs53l32a_probe,
index e15a789..fe6eb78 100644 (file)
@@ -5348,7 +5348,6 @@ MODULE_DEVICE_TABLE(i2c, cx25840_id);
 
 static struct i2c_driver cx25840_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "cx25840",
        },
        .probe          = cx25840_probe,
index 25b81bc..77551ba 100644 (file)
@@ -708,7 +708,6 @@ MODULE_DEVICE_TABLE(i2c, ks0127_id);
 
 static struct i2c_driver ks0127_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ks0127",
        },
        .probe          = ks0127_probe,
index bf47635..77eb07e 100644 (file)
@@ -185,7 +185,6 @@ MODULE_DEVICE_TABLE(i2c, m52790_id);
 
 static struct i2c_driver m52790_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "m52790",
        },
        .probe          = m52790_probe,
index dcc68ec..bdb9400 100644 (file)
@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(i2c, msp_id);
 
 static struct i2c_driver msp_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "msp3400",
                .pm     = &msp3400_pm_ops,
        },
index 57132cd..a4a5c39 100644 (file)
@@ -583,7 +583,6 @@ MODULE_DEVICE_TABLE(i2c, mt9v011_id);
 
 static struct i2c_driver mt9v011_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "mt9v011",
        },
        .probe          = mt9v011_probe,
index faa64ba..b8961df 100644 (file)
@@ -94,7 +94,6 @@ MODULE_DEVICE_TABLE(i2c, ov7640_id);
 
 static struct i2c_driver ov7640_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ov7640",
        },
        .probe = ov7640_probe,
index 2d1e25f..e1b5dc8 100644 (file)
@@ -1674,7 +1674,6 @@ MODULE_DEVICE_TABLE(i2c, ov7670_id);
 
 static struct i2c_driver ov7670_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ov7670",
        },
        .probe          = ov7670_probe,
index 2240e0a..37e65f6 100644 (file)
@@ -518,7 +518,6 @@ MODULE_DEVICE_TABLE(i2c, saa6588_id);
 
 static struct i2c_driver saa6588_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa6588",
        },
        .probe          = saa6588_probe,
index ba3c415..7202d3a 100644 (file)
@@ -793,7 +793,6 @@ MODULE_DEVICE_TABLE(i2c, saa6752hs_id);
 
 static struct i2c_driver saa6752hs_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa6752hs",
        },
        .probe          = saa6752hs_probe,
index 41fcaed..6f49886 100644 (file)
@@ -461,7 +461,6 @@ MODULE_DEVICE_TABLE(i2c, saa7110_id);
 
 static struct i2c_driver saa7110_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa7110",
        },
        .probe          = saa7110_probe,
index 0eae5f4..91e7522 100644 (file)
@@ -1929,7 +1929,6 @@ MODULE_DEVICE_TABLE(i2c, saa711x_id);
 
 static struct i2c_driver saa711x_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa7115",
        },
        .probe          = saa711x_probe,
index 264b755..a43d96d 100644 (file)
@@ -822,7 +822,6 @@ MODULE_DEVICE_TABLE(i2c, saa7127_id);
 
 static struct i2c_driver saa7127_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa7127",
        },
        .probe          = saa7127_probe,
index c6ba19c..1baca37 100644 (file)
@@ -1356,7 +1356,6 @@ MODULE_DEVICE_TABLE(i2c, saa717x_id);
 
 static struct i2c_driver saa717x_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa717x",
        },
        .probe          = saa717x_probe,
index f56c1c8..eecad2d 100644 (file)
@@ -356,7 +356,6 @@ MODULE_DEVICE_TABLE(i2c, saa7185_id);
 
 static struct i2c_driver saa7185_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa7185",
        },
        .probe          = saa7185_probe,
index 1da8004..6b1a04f 100644 (file)
@@ -388,7 +388,6 @@ MODULE_DEVICE_TABLE(i2c, sony_btf_mpx_id);
 
 static struct i2c_driver sony_btf_mpx_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "sony-btf-mpx",
        },
        .probe = sony_btf_mpx_probe,
index d3834a4..d87168a 100644 (file)
@@ -409,7 +409,6 @@ MODULE_DEVICE_TABLE(i2c, tda7432_id);
 
 static struct i2c_driver tda7432_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tda7432",
        },
        .probe          = tda7432_probe,
index fbdff8b..f31e659 100644 (file)
@@ -199,7 +199,6 @@ MODULE_DEVICE_TABLE(i2c, tda9840_id);
 
 static struct i2c_driver tda9840_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tda9840",
        },
        .probe          = tda9840_probe,
index bbe1a99..084bd75 100644 (file)
@@ -162,7 +162,6 @@ MODULE_DEVICE_TABLE(i2c, tea6415c_id);
 
 static struct i2c_driver tea6415c_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tea6415c",
        },
        .probe          = tea6415c_probe,
index 30a8d75..b7f4e58 100644 (file)
@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(i2c, tea6420_id);
 
 static struct i2c_driver tea6420_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tea6420",
        },
        .probe          = tea6420_probe,
index 9f7fdb6..bda3a65 100644 (file)
@@ -377,7 +377,6 @@ MODULE_DEVICE_TABLE(i2c, ths7303_id);
 
 static struct i2c_driver ths7303_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ths73x3",
        },
        .probe          = ths7303_probe,
index 0c50e52..2a8114a 100644 (file)
@@ -2051,7 +2051,6 @@ MODULE_DEVICE_TABLE(i2c, tvaudio_id);
 
 static struct i2c_driver tvaudio_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tvaudio",
        },
        .probe          = tvaudio_probe,
index e4fa074..522a865 100644 (file)
@@ -1215,7 +1215,6 @@ MODULE_DEVICE_TABLE(i2c, tvp5150_id);
 
 static struct i2c_driver tvp5150_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tvp5150",
        },
        .probe          = tvp5150_probe,
index 12c7d21..bef79cf 100644 (file)
@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(i2c, tw9903_id);
 
 static struct i2c_driver tw9903_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tw9903",
        },
        .probe = tw9903_probe,
index 2672d89..316a311 100644 (file)
@@ -234,7 +234,6 @@ MODULE_DEVICE_TABLE(i2c, tw9906_id);
 
 static struct i2c_driver tw9906_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tw9906",
        },
        .probe = tw9906_probe,
index d248e6a..2c0f955 100644 (file)
@@ -241,7 +241,6 @@ MODULE_DEVICE_TABLE(i2c, upd64031a_id);
 
 static struct i2c_driver upd64031a_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "upd64031a",
        },
        .probe          = upd64031a_probe,
index 3a152ce..f2057a4 100644 (file)
@@ -213,7 +213,6 @@ MODULE_DEVICE_TABLE(i2c, upd64083_id);
 
 static struct i2c_driver upd64083_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "upd64083",
        },
        .probe          = upd64083_probe,
index 819ab6d..d6c23bd 100644 (file)
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(i2c, vp27smpx_id);
 
 static struct i2c_driver vp27smpx_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "vp27smpx",
        },
        .probe          = vp27smpx_probe,
index c060551..4b564f1 100644 (file)
@@ -560,7 +560,6 @@ MODULE_DEVICE_TABLE(i2c, vpx3220_id);
 
 static struct i2c_driver vpx3220_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "vpx3220",
        },
        .probe          = vpx3220_probe,
index 534b0e5..f086e5e 100644 (file)
@@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, wm8739_id);
 
 static struct i2c_driver wm8739_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "wm8739",
        },
        .probe          = wm8739_probe,
index bee7946..d33d2cd 100644 (file)
@@ -318,7 +318,6 @@ MODULE_DEVICE_TABLE(i2c, wm8775_id);
 
 static struct i2c_driver wm8775_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "wm8775",
        },
        .probe          = wm8775_probe,