mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[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 <w.sang@pengutronix.de> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
c0ff9f4c24
commit
e6f199f3e7
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue