git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3180e
)
i2c-pxa: Fix adapter number
author
Jean Delvare
<khali@linux-fr.org>
Sun, 9 Sep 2007 20:29:13 +0000
(22:29 +0200)
committer
Jean Delvare
<khali@hyperion.delvare>
Sun, 9 Sep 2007 20:29:13 +0000
(22:29 +0200)
It turns out that platform_device.id is a "u32" so testing it for being
nonnegative is useless when setting up an i2c adapte. Instead,
do what the platform_bus code does and test it against the value "-1".
Signed-off-by: Jean Delvare <khali@linux-fr.org>
No differences found