Skip to content

Commit

Permalink
[media] 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 8972943 commit ebf8dce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/media/usb/go7007/s2250-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/v4l2-core/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit ebf8dce

Please sign in to comment.