cmd_i2c: Clean up i2c command argument parsing
authorPeter Tyser <ptyser@xes-inc.com>
Sun, 19 Apr 2009 03:34:04 +0000 (22:34 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:46 +0000 (20:39 +0200)
commite96ad5d3aba42f8ffe99f7cc5ec1bb9f21810035
treebd49baf2b54ace66628a47ccef98488ebcaca34d
parent0f89c54be92773b23d66ac401ba6acb6144100c3
cmd_i2c: Clean up i2c command argument parsing

argc and argv should only be modified once instead of once for
every i2c sub-command

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/cmd_i2c.c