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_atmel.c | |
parent | 9e5d4af458057344e8cc35b09b2f7a9c9e95d81f (diff) | |
download | op-kernel-dev-09e23a4a5dc39ef874403f3f6fa419f49db3677a.zip op-kernel-dev-09e23a4a5dc39ef874403f3f6fa419f49db3677a.tar.gz |
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_atmel.c')
-rw-r--r-- | drivers/char/tpm/tpm_i2c_atmel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_i2c_atmel.c b/drivers/char/tpm/tpm_i2c_atmel.c index 7a0ca78..8dfb88b 100644 --- a/drivers/char/tpm/tpm_i2c_atmel.c +++ b/drivers/char/tpm/tpm_i2c_atmel.c @@ -217,7 +217,6 @@ static struct i2c_driver i2c_atmel_driver = { .remove = i2c_atmel_remove, .driver = { .name = I2C_DRIVER_NAME, - .owner = THIS_MODULE, .pm = &i2c_atmel_pm_ops, .of_match_table = of_match_ptr(i2c_atmel_of_match), }, |