post/i2c: Clean up detection logic
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 22 Oct 2010 05:20:28 +0000 (00:20 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 22 Oct 2010 07:18:36 +0000 (02:18 -0500)
commit7e263cea88995d0b4b9fb659a95c382128feca71
treee38885f966f219c2ea1d516af6fcad511fdae52f
parentb9b1bc8542db5f26453c45db843903dee7056244
post/i2c: Clean up detection logic

The logic previously used in the I2C post was a bit convoluted.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Heiko Schocher <hs@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
post/drivers/i2c.c