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:
c0ff9f4
)
[media] i2c: Remove obsolete cleanup for clientdata
author
Wolfram Sang
<w.sang@pengutronix.de>
Wed, 10 Nov 2010 12:28:19 +0000
(09:28 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:47 +0000
(08:16 -0200)
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/imx074.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/imx074.c
b/drivers/media/video/imx074.c
index b9c91c1839f8cefc98f429d6e3b2120be188090d..1a116911571629f3942436c7a407a2512a06870b 100644
(file)
--- a/
drivers/media/video/imx074.c
+++ b/
drivers/media/video/imx074.c
@@
-467,7
+467,6
@@
static int imx074_remove(struct i2c_client *client)
icd->ops = NULL;
if (icl->free_bus)
icl->free_bus(icl);
- i2c_set_clientdata(client, NULL);
kfree(priv);
return 0;