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
powerpc/windfarm: Remove superfluous name casts
[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 945a25b2f31ea78b82a746d6beff6407341e5db4..87e439b10318de19bcafe544350c0268d444702a 100644
(file)
--- a/
drivers/macintosh/windfarm_max6690_sensor.c
+++ b/
drivers/macintosh/windfarm_max6690_sensor.c
@@
-95,7
+95,7
@@
static int wf_max6690_probe(struct i2c_client *client,
}
max->i2c = client;
- max->sens.name =
(char *)name; /* XXX fix constness in structure */
+ max->sens.name =
name;
max->sens.ops = &wf_max6690_ops;
i2c_set_clientdata(client, max);