Skip to content

Commit

Permalink
[media] staging: 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 ebf8dce commit acda7cf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/staging/media/lirc/lirc_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,6 @@ static const struct i2c_device_id ir_transceiver_id[] = {

static struct i2c_driver driver = {
.driver = {
.owner = THIS_MODULE,
.name = "Zilog/Hauppauge i2c IR",
},
.probe = ir_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/media/mn88472/mn88472.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ MODULE_DEVICE_TABLE(i2c, mn88472_id_table);

static struct i2c_driver mn88472_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "mn88472",
},
.probe = mn88472_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/media/mn88473/mn88473.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ MODULE_DEVICE_TABLE(i2c, mn88473_id_table);

static struct i2c_driver mn88473_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "mn88473",
},
.probe = mn88473_probe,
Expand Down

0 comments on commit acda7cf

Please sign in to comment.