summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/imx074.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/imx074.c')
-rw-r--r--drivers/media/video/imx074.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c
index 27b5dfdfbb9..b9c91c1839f 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;