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

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