summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/st33zp24
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2015-07-10 07:32:29 +0200
committerPeter Huewe2015-10-19 01:05:27 +0200
commit09e23a4a5dc39ef874403f3f6fa419f49db3677a (patch)
tree20f08d77dcdb978a76d1c8575b4d177b117743c8 /drivers/char/tpm/st33zp24
parentvTPM: get the buffer allocated for event log instead of the actual log (diff)
downloadkernel-qcow2-linux-09e23a4a5dc39ef874403f3f6fa419f49db3677a.tar.gz
kernel-qcow2-linux-09e23a4a5dc39ef874403f3f6fa419f49db3677a.tar.xz
kernel-qcow2-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/st33zp24')
-rw-r--r--drivers/char/tpm/st33zp24/i2c.c1
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),