dm: pci: scsi: Use driver-model PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:51 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit9fbdb94667b7316ef2a48fce325ae2da147d7d66
tree76e1d4339fb6cc79660d3f716e00fcd73ed592dc
parent5c0bf647c4e1659fdeb83a66f56ec27add72b561
dm: pci: scsi: Use driver-model PCI API

Adjust the SCSI command to use driver model for its PCI interface.

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