summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tc35892.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/tc35892.c')
-rw-r--r--drivers/mfd/tc35892.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/tc35892.c b/drivers/mfd/tc35892.c
index 715f095dd7a6..e619e2a55997 100644
--- a/drivers/mfd/tc35892.c
+++ b/drivers/mfd/tc35892.c
@@ -296,7 +296,6 @@ out_freeirq:
out_removeirq:
tc35892_irq_remove(tc35892);
out_free:
- i2c_set_clientdata(i2c, NULL);
kfree(tc35892);
return ret;
}
@@ -310,7 +309,6 @@ static int __devexit tc35892_remove(struct i2c_client *client)
free_irq(tc35892->i2c->irq, tc35892);
tc35892_irq_remove(tc35892);
- i2c_set_clientdata(client, NULL);
kfree(tc35892);
return 0;
OpenPOWER on IntegriCloud