Commit 09e23a4a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Peter Huewe

char: 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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 9e5d4af4
...@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_i2c_ops, st33zp24_pm_suspend, ...@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_i2c_ops, st33zp24_pm_suspend,
static struct i2c_driver st33zp24_i2c_driver = { static struct i2c_driver st33zp24_i2c_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = TPM_ST33_I2C, .name = TPM_ST33_I2C,
.pm = &st33zp24_i2c_ops, .pm = &st33zp24_i2c_ops,
.of_match_table = of_match_ptr(of_st33zp24_i2c_match), .of_match_table = of_match_ptr(of_st33zp24_i2c_match),
......
...@@ -217,7 +217,6 @@ static struct i2c_driver i2c_atmel_driver = { ...@@ -217,7 +217,6 @@ static struct i2c_driver i2c_atmel_driver = {
.remove = i2c_atmel_remove, .remove = i2c_atmel_remove,
.driver = { .driver = {
.name = I2C_DRIVER_NAME, .name = I2C_DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &i2c_atmel_pm_ops, .pm = &i2c_atmel_pm_ops,
.of_match_table = of_match_ptr(i2c_atmel_of_match), .of_match_table = of_match_ptr(i2c_atmel_of_match),
}, },
......
...@@ -711,7 +711,6 @@ static struct i2c_driver tpm_tis_i2c_driver = { ...@@ -711,7 +711,6 @@ static struct i2c_driver tpm_tis_i2c_driver = {
.remove = tpm_tis_i2c_remove, .remove = tpm_tis_i2c_remove,
.driver = { .driver = {
.name = "tpm_i2c_infineon", .name = "tpm_i2c_infineon",
.owner = THIS_MODULE,
.pm = &tpm_tis_i2c_ops, .pm = &tpm_tis_i2c_ops,
.of_match_table = of_match_ptr(tpm_tis_i2c_of_match), .of_match_table = of_match_ptr(tpm_tis_i2c_of_match),
}, },
......
...@@ -641,7 +641,6 @@ static struct i2c_driver i2c_nuvoton_driver = { ...@@ -641,7 +641,6 @@ static struct i2c_driver i2c_nuvoton_driver = {
.remove = i2c_nuvoton_remove, .remove = i2c_nuvoton_remove,
.driver = { .driver = {
.name = I2C_DRIVER_NAME, .name = I2C_DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &i2c_nuvoton_pm_ops, .pm = &i2c_nuvoton_pm_ops,
.of_match_table = of_match_ptr(i2c_nuvoton_of_match), .of_match_table = of_match_ptr(i2c_nuvoton_of_match),
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment