1
0
Fork 0

[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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
hifive-unleashed-5.1
Krzysztof Kozlowski 2015-07-10 03:19:48 -03:00 committed by Mauro Carvalho Chehab
parent 8972943c0e
commit ebf8dce56a
2 changed files with 0 additions and 2 deletions

View File

@ -629,7 +629,6 @@ MODULE_DEVICE_TABLE(i2c, s2250_id);
static struct i2c_driver s2250_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "s2250",
},
.probe = s2250_probe,

View File

@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(i2c, tuner_id);
static struct i2c_driver tuner_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "tuner",
.pm = &tuner_pm_ops,
},