Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308445
b: refs/heads/master
c: bc414b7
h: refs/heads/master
i:
  308443: c4b239a
v: v3
  • Loading branch information
Karol Lewandowski authored and Wolfram Sang committed May 12, 2012
1 parent 9826aeb commit 50f5ac5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 9df7eadf80caea58b9854a8433cba543dbe3b161
refs/heads/master: bc414b7b9bbccbdeac80757c03a966578d04a9a2
5 changes: 0 additions & 5 deletions trunk/drivers/i2c/busses/i2c-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,11 +1131,6 @@ static int i2c_pxa_probe(struct platform_device *dev)
spin_lock_init(&i2c->lock);
init_waitqueue_head(&i2c->wait);

/*
* If "dev->id" is negative we consider it as zero.
* The reason to do so is to avoid sysfs names that only make
* sense when there are multiple adapters.
*/
i2c->adap.nr = dev->id;
snprintf(i2c->adap.name, sizeof(i2c->adap.name), "pxa_i2c-i2c.%u",
i2c->adap.nr);
Expand Down

0 comments on commit 50f5ac5

Please sign in to comment.