dm: usb: Use blk_dread/write() instead of direct calls
authorSimon Glass <sjg@chromium.org>
Tue, 5 Jul 2016 23:10:17 +0000 (17:10 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 27 Jul 2016 20:15:54 +0000 (14:15 -0600)
commitc9f3c5f9c36127c4221bec7d790d44503d4da5a3
tree5d85dc982f16445ae9472818c5e12e07847a5b80
parentf1a485aa404bf4483ecc5eae4423fb334ca68bd3
dm: usb: Use blk_dread/write() instead of direct calls

Update the USB mass storage code to allow it to work with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/usb_mass_storage.c