summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-11-10 15:28:19 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 13:16:47 +0300
commite6f199f3e7e10112adfa80700ecc00b056b5a62e (patch)
tree93c33e095815cbdcbd1c454d293d7075dd646e59
parentc0ff9f4c24a2571943c0d0991c2cb9ac90dc1915 (diff)
downloadlinux-e6f199f3e7e10112adfa80700ecc00b056b5a62e.tar.xz
[media] i2c: Remove obsolete cleanup for clientdata
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>
-rw-r--r--drivers/media/video/imx074.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c
index b9c91c1839f8..1a1169115716 100644
--- 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;