浏览代码

[media] tuners: 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>
Krzysztof Kozlowski 10 年之前
父节点
当前提交
8972943c0e

+ 0 - 1
drivers/media/tuners/e4000.c

@@ -752,7 +752,6 @@ MODULE_DEVICE_TABLE(i2c, e4000_id_table);
 
 
 static struct i2c_driver e4000_driver = {
 static struct i2c_driver e4000_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "e4000",
 		.name	= "e4000",
 		.suppress_bind_attrs = true,
 		.suppress_bind_attrs = true,
 	},
 	},

+ 0 - 1
drivers/media/tuners/fc2580.c

@@ -632,7 +632,6 @@ MODULE_DEVICE_TABLE(i2c, fc2580_id_table);
 
 
 static struct i2c_driver fc2580_driver = {
 static struct i2c_driver fc2580_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "fc2580",
 		.name	= "fc2580",
 		.suppress_bind_attrs = true,
 		.suppress_bind_attrs = true,
 	},
 	},

+ 0 - 1
drivers/media/tuners/it913x.c

@@ -463,7 +463,6 @@ MODULE_DEVICE_TABLE(i2c, it913x_id_table);
 
 
 static struct i2c_driver it913x_driver = {
 static struct i2c_driver it913x_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "it913x",
 		.name	= "it913x",
 	},
 	},
 	.probe		= it913x_probe,
 	.probe		= it913x_probe,

+ 0 - 1
drivers/media/tuners/m88rs6000t.c

@@ -729,7 +729,6 @@ MODULE_DEVICE_TABLE(i2c, m88rs6000t_id);
 
 
 static struct i2c_driver m88rs6000t_driver = {
 static struct i2c_driver m88rs6000t_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "m88rs6000t",
 		.name	= "m88rs6000t",
 	},
 	},
 	.probe		= m88rs6000t_probe,
 	.probe		= m88rs6000t_probe,

+ 0 - 1
drivers/media/tuners/si2157.c

@@ -469,7 +469,6 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table);
 
 
 static struct i2c_driver si2157_driver = {
 static struct i2c_driver si2157_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "si2157",
 		.name	= "si2157",
 	},
 	},
 	.probe		= si2157_probe,
 	.probe		= si2157_probe,

+ 0 - 1
drivers/media/tuners/tda18212.c

@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(i2c, tda18212_id);
 
 
 static struct i2c_driver tda18212_driver = {
 static struct i2c_driver tda18212_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "tda18212",
 		.name	= "tda18212",
 	},
 	},
 	.probe		= tda18212_probe,
 	.probe		= tda18212_probe,

+ 0 - 1
drivers/media/tuners/tua9001.c

@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(i2c, tua9001_id_table);
 
 
 static struct i2c_driver tua9001_driver = {
 static struct i2c_driver tua9001_driver = {
 	.driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "tua9001",
 		.name	= "tua9001",
 		.suppress_bind_attrs = true,
 		.suppress_bind_attrs = true,
 	},
 	},