OSDN Git Service

[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 cc39901..a1930b3 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 183e927..ba8e357 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 a9319a2..9f879f0 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,