git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ 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
[safe/jmp/linux-2.6]
/
drivers
/
staging
/
go7007
/
wis-tw2804.c
diff --git
a/drivers/staging/go7007/wis-tw2804.c
b/drivers/staging/go7007/wis-tw2804.c
index
315268d
..
ee28a99
100644
(file)
--- a/
drivers/staging/go7007/wis-tw2804.c
+++ b/
drivers/staging/go7007/wis-tw2804.c
@@
-323,7
+323,6
@@
static int wis_tw2804_remove(struct i2c_client *client)
{
struct wis_tw2804 *dec = i2c_get_clientdata(client);
- i2c_set_clientdata(client, NULL);
kfree(dec);
return 0;
}