Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6f199f3 authored by Wolfram Sang's avatar Wolfram Sang Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarWolfram Sang <w.sang@pengutronix.de>
Acked-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c0ff9f4c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;