i2c: fix i2c dev command for not using new framework
authorHeiko Schocher <hs@denx.de>
Fri, 23 Aug 2013 07:39:16 +0000 (09:39 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 27 Aug 2013 03:49:52 +0000 (05:49 +0200)
commit880a41273265233004516351189aad126f964c86
treeaf04bbfebd45a387b45b97211b3970d20331bd5a
parent2b26201a2aef0b310b7c04702b0dba5dea493f77
i2c: fix i2c dev command for not using new framework

i2c dev command does not work anymore for legacy drivers
because a check is executed that is valid only
in the new framework.

Signed-off-by: Heiko Schocher <hs@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
common/cmd_i2c.c