David Brownell 9a3180e70e i2c-gpio: 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 bitbang device.  Instead,
do what the platform_bus code does and test it against the value "-1". 

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-09-09 22:29:13 +02:00
..
2007-07-31 15:39:39 -07:00
2007-08-22 19:52:46 -07:00
2007-07-31 15:39:39 -07:00
2007-07-21 18:37:12 -07:00
2007-09-09 22:29:13 +02:00
2007-08-25 01:44:01 -04:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-08-25 01:44:01 -04:00
2007-08-24 01:27:24 -04:00
2007-08-22 19:52:45 -07:00
2007-08-31 01:42:23 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00