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

Instead of having separate code in the 'ide' 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/ide.c