projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
macintosh
/
windfarm_max6690_sensor.c
diff --git
a/drivers/macintosh/windfarm_max6690_sensor.c
b/drivers/macintosh/windfarm_max6690_sensor.c
index b486eb929fde725fb9e0271d4af46cdc241c2113..8204113268f471db6021ffa7915be03272a0c40c 100644
(file)
--- a/
drivers/macintosh/windfarm_max6690_sensor.c
+++ b/
drivers/macintosh/windfarm_max6690_sensor.c
@@
-81,7
+81,6
@@
static int wf_max6690_probe(struct i2c_client *client,
rc = wf_register_sensor(&max->sens);
if (rc) {
- i2c_set_clientdata(client, NULL);
kfree(max);
}