At present device_bind() does some unnecessary work if a device fails to bind in SPL. Add the missing conditions.
Also fix a style nit in the same function while we are here. Signed-off-by: Simon Glass <s...@chromium.org> --- drivers/core/device.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Applied to u-boot-dm, thanks!