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: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
device-remove.c | ||
device.c | ||
lists.c | ||
root.c | ||
simple-bus.c | ||
uclass.c | ||
util.c |