dm: i2c: Implement 'i2c bus' command for driver model
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:30:57 +0000 (11:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
commit59aa9df383b85a7701cefbe997d242d79b452e3b
tree2622e2471010d8e9dd714f44b31e0e6af1b8aa37
parent28b5404ca130b4c2840b2b01401713f13b93a3b7
dm: i2c: Implement 'i2c bus' command for driver model

This command was missed in the conversion. Add it back for driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Heiko Schocher <hs@denx.de>
common/cmd_i2c.c