Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113064
b: refs/heads/master
c: 3989007
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 30, 2008
1 parent a328126 commit f8d8b0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ae05f87ee2f403228bca6d28fef29d6be0bfbedc
refs/heads/master: 39890072b320e7731b105b459cee1320957adbc7
6 changes: 3 additions & 3 deletions trunk/drivers/sbus/char/bbc_envctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static void attach_one_temp(struct bbc_i2c_bus *bp, struct of_device *op,
if (!tp)
return;

tp->client = bbc_i2c_attach(op);
tp->client = bbc_i2c_attach(bp, op);
if (!tp->client) {
kfree(tp);
return;
Expand Down Expand Up @@ -496,7 +496,7 @@ static void attach_one_fan(struct bbc_i2c_bus *bp, struct of_device *op,
if (!fp)
return;

fp->client = bbc_i2c_attach(op);
fp->client = bbc_i2c_attach(bp, op);
if (!fp->client) {
kfree(fp);
return;
Expand Down Expand Up @@ -529,7 +529,7 @@ int bbc_envctrl_init(struct bbc_i2c_bus *bp)
int fan_index = 0;
int devidx = 0;

while ((op = bbc_i2c_getdev(devidx++)) != NULL) {
while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) {
if (!strcmp(op->node->name, "temperature"))
attach_one_temp(bp, op, temp_index++);
if (!strcmp(op->node->name, "fan-control"))
Expand Down

0 comments on commit f8d8b0b

Please sign in to comment.