commit | 356e0e6113c86d99c01454e601f37a1c4a30d6e0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 13:52:36 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | a2feef2a9e449e30f1e27255255f4748a0f48189 | |
parent | e5db1156811de52e79371b0ff7fcdd4b09a81bae [diff] |
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>