This ports the following barebox commit: | commit d11584d | Author: Sascha Hauer <s.hauer@pengutronix.de> | Date: Wed Apr 19 14:34:30 2017 +0200 | | state: Fix error return value | | When the backend phandle cannot be resolved we jump to the error | return path without initializing ret. Fix this. | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
d11584d