Skip to content

Commit

Permalink
i2c: 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: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
krzk authored and Wolfram Sang committed Aug 10, 2015
1 parent b0898fd commit 069d5b7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/i2c/i2c-slave-eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_slave_eeprom_id);
static struct i2c_driver i2c_slave_eeprom_driver = {
.driver = {
.name = "i2c-slave-eeprom",
.owner = THIS_MODULE,
},
.probe = i2c_slave_eeprom_probe,
.remove = i2c_slave_eeprom_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/muxes/i2c-mux-pca9541.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ static int pca9541_remove(struct i2c_client *client)
static struct i2c_driver pca9541_driver = {
.driver = {
.name = "pca9541",
.owner = THIS_MODULE,
},
.probe = pca9541_probe,
.remove = pca9541_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/muxes/i2c-mux-pca954x.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ static struct i2c_driver pca954x_driver = {
.driver = {
.name = "pca954x",
.pm = &pca954x_pm,
.owner = THIS_MODULE,
},
.probe = pca954x_probe,
.remove = pca954x_remove,
Expand Down

0 comments on commit 069d5b7

Please sign in to comment.