Commit
91f5af2e6524f795c0ee5d2fdc3be40d0e427ae2
Exists in
master
and in
20 other branches
dlt-processor-sdk-linux-03.00.00.04, newt-ti-linux-3.12.y, processor-sdk-linux-01.00.00, processor-sdk-linux-02.00.01, smarc-ti-linux-3.12.10, smarc-ti-linux-3.12.y, smarc-ti-linux-3.14.y, smarc-ti-linux-3.15.y, smarc-ti-lsk-linux-4.1.y, smarct3x-processor-sdk-04.01.00.06, smarct3x-processor-sdk-linux-02.00.01, smarct3x-processor-sdk-linux-03.00.00.04, smarct4x-800-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-04.01.00.06, smarct4x-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-linux-03.00.00.04, ti-linux-3.12.y, ti-linux-3.14.y, ti-linux-3.15.y, ti-lsk-linux-4.1.y
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 <wsa@the-dreams.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
1 changed file
with
0 additions
and
1 deletions
Side-by-side Diff
... |
... |
@@ -343,7 +343,6 @@ |
343
|
343 |
wf_unregister_sensor(&sens->sens); |
344
|
344 |
} |
345
|
345 |
sat->i2c = NULL; |
346
|
|
- i2c_set_clientdata(client, NULL); |
347
|
346 |
kref_put(&sat->ref, wf_sat_release); |
348
|
347 |
|
349
|
348 |
return 0; |