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

dm: core: Tidy up error handling in device_bind()


Make the error handling more standard to make it easier to build on top of
it. Also correct a bug in the error path where there is no parent.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 2f3b95db
No related branches found
No related tags found
No related merge requests found
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