summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmc-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 13:52:36 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit1598dfcb101c2c3aaac68a4ac8fc9bdef2293eaa (patch)
treea2feef2a9e449e30f1e27255255f4748a0f48189 /drivers/mmc/mmc-uclass.c
parentc40fdca6b7db469d3982cc44fd68a269adb41b25 (diff)
downloadtalos-obmc-uboot-1598dfcb101c2c3aaac68a4ac8fc9bdef2293eaa.tar.gz
talos-obmc-uboot-1598dfcb101c2c3aaac68a4ac8fc9bdef2293eaa.zip
dm: blk: Use the correct error code for blk_get_device_by_str()
Return -EINVAL instead of -1 in this function, to provide a more meaningful error. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/mmc-uclass.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud