aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9m001.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-11-10 09:14:13 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:47 -0500
commitc0ff9f4c24a2571943c0d0991c2cb9ac90dc1915 (patch)
tree1ce53de77bf933d2eecd4ba61e736e3876a52ca8 /drivers/media/video/mt9m001.c
parent9a9dcb4a19c29ec01e7d249e3dae2d589af86480 (diff)
[media] media: video: do not clear 'driver' from an i2c_client
The i2c-core does this already. Reported-by: Jean Delvare <khali@linux-fr.org> 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>
Diffstat (limited to 'drivers/media/video/mt9m001.c')
-rw-r--r--drivers/media/video/mt9m001.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/mt9m001.c b/drivers/media/video/mt9m001.c
index fcb4cd941853..f7fc88d240e6 100644
--- a/drivers/media/video/mt9m001.c
+++ b/drivers/media/video/mt9m001.c
@@ -798,7 +798,6 @@ static int mt9m001_remove(struct i2c_client *client)
798 798
799 icd->ops = NULL; 799 icd->ops = NULL;
800 mt9m001_video_remove(icd); 800 mt9m001_video_remove(icd);
801 client->driver = NULL;
802 kfree(mt9m001); 801 kfree(mt9m001);
803 802
804 return 0; 803 return 0;