diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-11-10 15:14:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 11:16:47 +0100 |
commit | c0ff9f4c24a2571943c0d0991c2cb9ac90dc1915 (patch) | |
tree | 1ce53de77bf933d2eecd4ba61e736e3876a52ca8 /drivers/media/video/imx074.c | |
parent | [media] cx231xx-417: Remove unnecessary casts of void ptr returning alloc fun... (diff) | |
download | linux-c0ff9f4c24a2571943c0d0991c2cb9ac90dc1915.tar.xz linux-c0ff9f4c24a2571943c0d0991c2cb9ac90dc1915.zip |
[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/imx074.c')
-rw-r--r-- | drivers/media/video/imx074.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c index 27b5dfdfbb93..b9c91c1839f8 100644 --- a/drivers/media/video/imx074.c +++ b/drivers/media/video/imx074.c @@ -467,7 +467,7 @@ static int imx074_remove(struct i2c_client *client) icd->ops = NULL; if (icl->free_bus) icl->free_bus(icl); - client->driver = NULL; + i2c_set_clientdata(client, NULL); kfree(priv); return 0; |