Skip to content
Snippets Groups Projects
Commit 1598dfcb authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent c40fdca6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment