diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 14:32:29 +0900 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-10-19 01:05:27 +0200 |
commit | 09e23a4a5dc39ef874403f3f6fa419f49db3677a (patch) | |
tree | 20f08d77dcdb978a76d1c8575b4d177b117743c8 /drivers/char/tpm/tpm_i2c_nuvoton.c | |
parent | 9e5d4af458057344e8cc35b09b2f7a9c9e95d81f (diff) | |
download | linux-09e23a4a5dc39ef874403f3f6fa419f49db3677a.tar.gz linux-09e23a4a5dc39ef874403f3f6fa419f49db3677a.tar.bz2 linux-09e23a4a5dc39ef874403f3f6fa419f49db3677a.zip |
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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char/tpm/tpm_i2c_nuvoton.c')
-rw-r--r-- | drivers/char/tpm/tpm_i2c_nuvoton.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_i2c_nuvoton.c b/drivers/char/tpm/tpm_i2c_nuvoton.c index 9d42b7d78e50..847f1597fe9b 100644 --- a/drivers/char/tpm/tpm_i2c_nuvoton.c +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c @@ -641,7 +641,6 @@ static struct i2c_driver i2c_nuvoton_driver = { .remove = i2c_nuvoton_remove, .driver = { .name = I2C_DRIVER_NAME, - .owner = THIS_MODULE, .pm = &i2c_nuvoton_pm_ops, .of_match_table = of_match_ptr(i2c_nuvoton_of_match), }, |