Skip to content

Commit

Permalink
[media] tuners: Drop owner assignment from i2c_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Mauro Carvalho Chehab committed Aug 11, 2015
1 parent f77658b commit 8972943
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion drivers/media/tuners/e4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ MODULE_DEVICE_TABLE(i2c, e4000_id_table);

static struct i2c_driver e4000_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "e4000",
.suppress_bind_attrs = true,
},
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/fc2580.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ MODULE_DEVICE_TABLE(i2c, fc2580_id_table);

static struct i2c_driver fc2580_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "fc2580",
.suppress_bind_attrs = true,
},
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ MODULE_DEVICE_TABLE(i2c, it913x_id_table);

static struct i2c_driver it913x_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "it913x",
},
.probe = it913x_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/m88rs6000t.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ MODULE_DEVICE_TABLE(i2c, m88rs6000t_id);

static struct i2c_driver m88rs6000t_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "m88rs6000t",
},
.probe = m88rs6000t_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/si2157.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table);

static struct i2c_driver si2157_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "si2157",
},
.probe = si2157_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/tda18212.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(i2c, tda18212_id);

static struct i2c_driver tda18212_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "tda18212",
},
.probe = tda18212_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/tuners/tua9001.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(i2c, tua9001_id_table);

static struct i2c_driver tua9001_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "tua9001",
.suppress_bind_attrs = true,
},
Expand Down

0 comments on commit 8972943

Please sign in to comment.