[media] radio: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:19:46 +0000 (03:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 16:01:08 +0000 (13:01 -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>
drivers/media/radio/radio-tea5764.c
drivers/media/radio/saa7706h.c
drivers/media/radio/tef6862.c

index cc3990111411bd8b06b4d86ad3d4da9b72a54c94..a1930b300c06d3bf14811b43b161056b14f346ab 100644 (file)
@@ -526,7 +526,6 @@ MODULE_DEVICE_TABLE(i2c, tea5764_id);
 static struct i2c_driver tea5764_i2c_driver = {
        .driver = {
                .name = "radio-tea5764",
-               .owner = THIS_MODULE,
        },
        .probe = tea5764_i2c_probe,
        .remove = tea5764_i2c_remove,
index 183e92719140b41c9d71bd1e956adc240ba8509f..ba8e357ba0a2dc1d856f386e79a24eee0c85a3ef 100644 (file)
@@ -417,7 +417,6 @@ MODULE_DEVICE_TABLE(i2c, saa7706h_id);
 
 static struct i2c_driver saa7706h_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = DRIVER_NAME,
        },
        .probe          = saa7706h_probe,
index a9319a24c7efe1290efbc5b309bb719584cf7b5f..9f879f0ec0ef2de7e516d5b77830583525259670 100644 (file)
@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, tef6862_id);
 
 static struct i2c_driver tef6862_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = DRIVER_NAME,
        },
        .probe          = tef6862_probe,