提交 ebf8dce5 编写于 作者: K Krzysztof Kozlowski 提交者: 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: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册