Jean Delvare 51e5709ad4 i2c-pxa: Fix adapter number
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>
2007-09-09 22:29:13 +02:00
..
2007-07-15 16:40:52 -07:00
2007-05-01 23:26:28 +02:00
2007-05-01 23:26:28 +02:00
2007-02-13 22:09:01 +01:00
2007-05-01 23:26:28 +02:00
2007-05-10 09:26:53 -07:00
2007-09-09 22:29:13 +02:00
2007-08-14 18:37:13 +02:00
2007-02-13 22:09:01 +01:00
2007-05-01 23:26:28 +02:00
2007-05-01 23:26:28 +02:00
2007-05-01 23:26:28 +02:00
2007-08-31 01:42:23 -07:00
2007-09-09 22:29:13 +02:00
2007-08-14 18:37:15 +02:00
2007-05-01 23:26:34 +02:00
2007-05-01 23:26:28 +02:00
2007-02-13 22:09:01 +01:00
2007-08-31 01:42:23 -07:00
2007-02-13 22:09:01 +01:00