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

Commit 91f5af2e authored by Wolfram Sang's avatar Wolfram Sang Committed by Benjamin Herrenschmidt
Browse files

macintosh/windfarm: Remove obsolete cleanup for clientdata



A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit or error. This is obsolete meanwhile, the core will do it.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 7029705a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -343,7 +343,6 @@ static int wf_sat_remove(struct i2c_client *client)
		wf_unregister_sensor(&sens->sens);
	}
	sat->i2c = NULL;
	i2c_set_clientdata(client, NULL);
	kref_put(&sat->ref, wf_sat_release);

	return 0;