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

[media] 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 8972943c
...@@ -629,7 +629,6 @@ MODULE_DEVICE_TABLE(i2c, s2250_id); ...@@ -629,7 +629,6 @@ MODULE_DEVICE_TABLE(i2c, s2250_id);
static struct i2c_driver s2250_driver = { static struct i2c_driver s2250_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "s2250", .name = "s2250",
}, },
.probe = s2250_probe, .probe = s2250_probe,
......
...@@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(i2c, tuner_id); ...@@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(i2c, tuner_id);
static struct i2c_driver tuner_driver = { static struct i2c_driver tuner_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "tuner", .name = "tuner",
.pm = &tuner_pm_ops, .pm = &tuner_pm_ops,
}, },
......
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