dm: usb: Adjust the 'usb' command to use blk_common_cmd()
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:34:58 +0000 (11:34 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:16 +0000 (16:44 +0900)
commitc16ad675d58e3e4b0ced00004ddef450dc62314a
tree4dc66b7260f599dca88133feb057ec7eca084c52
parent09ed0d616d62f87bf854532e4e01950fbcd0bb42
dm: usb: Adjust the 'usb' command to use blk_common_cmd()

Instead of having separate code in the 'usb' command, adjust it to use
the common function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/usb.c