projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7c0b5
)
arch/powerpc/platforms/83xx: Remove obsolete cleanup for clientdata
author
Wolfram Sang
<wsa@the-dreams.de>
Sun, 13 Oct 2013 16:05:38 +0000
(18:05 +0200)
committer
Scott Wood
<scottwood@freescale.com>
Tue, 29 Oct 2013 02:11:23 +0000
(21:11 -0500)
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 <wsa@the-dreams.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
b/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
index 7bc3158229357f4e182a2d0f6b3a6c06204e0184..fd71cfdf23802e56f121d6c5dbc6144d3dcbd11f 100644
(file)
--- a/
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
+++ b/
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
@@
-204,7
+204,6
@@
static int mcu_remove(struct i2c_client *client)
ret = mcu_gpiochip_remove(mcu);
if (ret)
return ret;
- i2c_set_clientdata(client, NULL);
kfree(mcu);
return 0;
}