From c0ff9f4c24a2571943c0d0991c2cb9ac90dc1915 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 10 Nov 2010 11:14:13 -0300 Subject: [media] media: video: do not clear 'driver' from an i2c_client The i2c-core does this already. Reported-by: Jean Delvare Signed-off-by: Wolfram Sang Acked-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/mt9t031.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/media/video/mt9t031.c') diff --git a/drivers/media/video/mt9t031.c b/drivers/media/video/mt9t031.c index 9bd44a816ea1..7ce279c3751d 100644 --- a/drivers/media/video/mt9t031.c +++ b/drivers/media/video/mt9t031.c @@ -896,7 +896,6 @@ static int mt9t031_remove(struct i2c_client *client) if (icd) icd->ops = NULL; - client->driver = NULL; kfree(mt9t031); return 0; -- cgit v1.2.3