Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305365
b: refs/heads/master
c: 43671cc
h: refs/heads/master
i:
  305363: 23ab0ef
v: v3
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed May 3, 2012
1 parent 23bcd5e commit 69e6f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca7d593e0ac8cf806aa750815daf12594345f5f6
refs/heads/master: 43671cc96e58458b2711f1e97ff24a4c0e7cd1ac
4 changes: 2 additions & 2 deletions trunk/drivers/macintosh/windfarm_smu_sat.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ static int wf_sat_probe(struct i2c_client *client,
sens->sat = sat;
sens->sens.ops = &wf_sat_ops;
sens->sens.name = (char *) (sens + 1);
snprintf(sens->sens.name, 16, "%s-%d", name, cpu);
snprintf((char *)sens->sens.name, 16, "%s-%d", name, cpu);

if (wf_register_sensor(&sens->sens))
kfree(sens);
Expand All @@ -314,7 +314,7 @@ static int wf_sat_probe(struct i2c_client *client,
sens->sat = sat;
sens->sens.ops = &wf_sat_ops;
sens->sens.name = (char *) (sens + 1);
snprintf(sens->sens.name, 16, "cpu-power-%d", cpu);
snprintf((char *)sens->sens.name, 16, "cpu-power-%d", cpu);

if (wf_register_sensor(&sens->sens))
kfree(sens);
Expand Down

0 comments on commit 69e6f4b

Please sign in to comment.