From e6f199f3e7e10112adfa80700ecc00b056b5a62e Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 10 Nov 2010 09:28:19 -0300 Subject: [PATCH] [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 Acked-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/imx074.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2