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
/
hwmon
/
asc7621.c
diff --git
a/drivers/hwmon/asc7621.c
b/drivers/hwmon/asc7621.c
index
0f388ad
..
3b973f3
100644
(file)
--- a/
drivers/hwmon/asc7621.c
+++ b/
drivers/hwmon/asc7621.c
@@
-1141,7
+1141,6
@@
exit_remove:
&(asc7621_params[i].sda.dev_attr));
}
- i2c_set_clientdata(client, NULL);
kfree(data);
return err;
}
@@
-1196,7
+1195,6
@@
static int asc7621_remove(struct i2c_client *client)
&(asc7621_params[i].sda.dev_attr));
}
- i2c_set_clientdata(client, NULL);
kfree(data);
return 0;
}