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
Merge remote-tracking branches 'asoc/topic/gpio' and 'asoc/topic/intel' into asoc...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
macintosh
/
windfarm_lm75_sensor.c
diff --git
a/drivers/macintosh/windfarm_lm75_sensor.c
b/drivers/macintosh/windfarm_lm75_sensor.c
index 9ef32b3df91f060b0b85d399d207faad7c072384..590214ba736c1778181f3a75cccd1aed0d2f71f9 100644
(file)
--- a/
drivers/macintosh/windfarm_lm75_sensor.c
+++ b/
drivers/macintosh/windfarm_lm75_sensor.c
@@
-133,7
+133,7
@@
static int wf_lm75_probe(struct i2c_client *client,
lm->inited = 0;
lm->ds1775 = ds1775;
lm->i2c = client;
- lm->sens.name =
(char *)name; /* XXX fix constness in structure */
+ lm->sens.name =
name;
lm->sens.ops = &wf_lm75_ops;
i2c_set_clientdata(client, lm);