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-02-13 22:09:03 +01:00
2007-02-17 19:13:42 +01:00
2007-05-01 23:26:28 +02:00
2007-05-10 09:26:53 -07:00
2006-09-26 15:38:52 -07:00
2005-04-16 15:20:36 -07:00
2007-05-01 23:26:32 +02:00
2007-05-01 23:26:30 +02:00
2007-09-09 22:29:13 +02:00
2006-12-10 21:21:33 +01:00
2007-08-14 18:37:13 +02:00
2007-02-13 22:09:01 +01:00
2007-02-13 22:09:03 +01:00
2006-10-03 23:01:26 +02:00
2007-08-14 18:37:14 +02:00
2006-07-12 15:43:06 -07:00
2007-05-01 23:26:28 +02:00
2007-05-01 23:26:28 +02:00
2007-08-14 18:37:14 +02:00
2007-08-14 18:37:14 +02:00
2007-07-12 14:12:29 +02:00
2007-02-14 08:09:54 -08:00
2007-05-01 23:26:32 +02:00
2007-05-01 23:26:30 +02:00
2007-05-08 11:15:05 -07:00
2007-02-13 22:09:02 +01:00
2007-05-01 23:26:28 +02:00
2007-05-04 18:04:29 -07:00
2007-08-31 01:42:23 -07:00
2007-07-17 10:22:59 -07:00
2007-01-04 13:07:03 +01:00
2007-07-12 14:12:29 +02:00
2006-12-10 21:21:33 +01:00
2007-09-09 22:29:13 +02:00
2007-08-14 18:37:15 +02:00
2007-07-12 14:12:31 +02:00
2006-09-29 09:34:17 -07:00
2007-05-01 23:26:34 +02:00
2007-05-01 23:26:28 +02:00
2007-02-17 19:13:42 +01:00
2007-07-12 14:12:30 +02:00
2006-09-26 15:38:52 -07:00
2007-07-12 14:12:31 +02:00
2007-05-22 19:49:16 +02:00
2006-12-10 21:21:32 +01:00
2007-02-17 19:13:42 +01:00
2007-07-12 13:40:57 -07:00
2007-02-13 22:09:01 +01:00
2007-08-31 01:42:23 -07:00
2007-07-19 14:24:57 -07:00
2007-07-12 14:12:29 +02:00
2007-02-13 22:09:01 +01:00