git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
[pandora-kernel.git]
/
drivers
/
regulator
/
tps65023-regulator.c
diff --git
a/drivers/regulator/tps65023-regulator.c
b/drivers/regulator/tps65023-regulator.c
index
8e2f209
..
f50afc9
100644
(file)
--- a/
drivers/regulator/tps65023-regulator.c
+++ b/
drivers/regulator/tps65023-regulator.c
@@
-538,9
+538,6
@@
static int __devexit tps_65023_remove(struct i2c_client *client)
struct tps_pmic *tps = i2c_get_clientdata(client);
int i;
- /* clear the client data in i2c */
- i2c_set_clientdata(client, NULL);
-
for (i = 0; i < TPS65023_NUM_REGULATOR; i++)
regulator_unregister(tps->rdev[i]);