Commit f77658bd authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mauro Carvalho Chehab

[media] radio: Drop owner assignment from i2c_driver

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent dfadacca
...@@ -526,7 +526,6 @@ MODULE_DEVICE_TABLE(i2c, tea5764_id); ...@@ -526,7 +526,6 @@ MODULE_DEVICE_TABLE(i2c, tea5764_id);
static struct i2c_driver tea5764_i2c_driver = { static struct i2c_driver tea5764_i2c_driver = {
.driver = { .driver = {
.name = "radio-tea5764", .name = "radio-tea5764",
.owner = THIS_MODULE,
}, },
.probe = tea5764_i2c_probe, .probe = tea5764_i2c_probe,
.remove = tea5764_i2c_remove, .remove = tea5764_i2c_remove,
......
...@@ -417,7 +417,6 @@ MODULE_DEVICE_TABLE(i2c, saa7706h_id); ...@@ -417,7 +417,6 @@ MODULE_DEVICE_TABLE(i2c, saa7706h_id);
static struct i2c_driver saa7706h_driver = { static struct i2c_driver saa7706h_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRIVER_NAME, .name = DRIVER_NAME,
}, },
.probe = saa7706h_probe, .probe = saa7706h_probe,
......
...@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, tef6862_id); ...@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, tef6862_id);
static struct i2c_driver tef6862_driver = { static struct i2c_driver tef6862_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRIVER_NAME, .name = DRIVER_NAME,
}, },
.probe = tef6862_probe, .probe = tef6862_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