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/st33zp24/i2c.c | |
parent | 9e5d4af458057344e8cc35b09b2f7a9c9e95d81f (diff) |
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/st33zp24/i2c.c')
-rw-r--r-- | drivers/char/tpm/st33zp24/i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/st33zp24/i2c.c b/drivers/char/tpm/st33zp24/i2c.c index ad1ee180e0c2..309d2767c6a1 100644 --- a/drivers/char/tpm/st33zp24/i2c.c +++ b/drivers/char/tpm/st33zp24/i2c.c @@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_i2c_ops, st33zp24_pm_suspend, static struct i2c_driver st33zp24_i2c_driver = { .driver = { - .owner = THIS_MODULE, .name = TPM_ST33_I2C, .pm = &st33zp24_i2c_ops, .of_match_table = of_match_ptr(of_st33zp24_i2c_match), |