projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b103e0b
)
mfd: Remove obsolete cleanup for wl1273 clientdata
author
Wolfram Sang
<w.sang@pengutronix.de>
Mon, 24 Jan 2011 10:44:27 +0000
(11:44 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:44 +0000
(10:41 +0100)
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit or error. This is obsolete meanwhile, the core will do it.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wl1273-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/wl1273-core.c
b/drivers/mfd/wl1273-core.c
index d2ecc2435736a015a006e279f93d61e0007560e8..6bb51364dcb4d1182a1563d1c22d1ceea066e98f 100644
(file)
--- a/
drivers/mfd/wl1273-core.c
+++ b/
drivers/mfd/wl1273-core.c
@@
-38,7
+38,6
@@
static int wl1273_core_remove(struct i2c_client *client)
dev_dbg(&client->dev, "%s\n", __func__);
mfd_remove_devices(&client->dev);
- i2c_set_clientdata(client, NULL);
kfree(core);
return 0;
@@
-104,7
+103,6
@@
static int __devinit wl1273_core_probe(struct i2c_client *client,
return 0;
err:
- i2c_set_clientdata(client, NULL);
pdata->free_resources();
kfree(core);