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>
Loading
Please register or sign in to comment