From: Wolfram Sang Date: Tue, 21 May 2013 18:45:40 +0000 (+0200) Subject: macintosh/windfarm: Remove obsolete cleanup for clientdata X-Git-Tag: v3.11-rc1~94^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91f5af2e6524f795c0ee5d2fdc3be40d0e427ae2;p=platform%2Fkernel%2Flinux-exynos.git 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: Wolfram Sang Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c index d87f5ee..ad6223e 100644 --- a/drivers/macintosh/windfarm_smu_sat.c +++ b/drivers/macintosh/windfarm_smu_sat.c @@ -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;