state: pass error code instead of inventing new one
Both of_find_path() and of_find_path_by_node() return a meaningful
error code, so forward it instead of inventing a new one. Do this
especially for the -EPROBE_DEFER case which currently does not work.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ed99f90 commit 1af4f599c2b2047dc09ebf2954583f7d85d09a6a
@Sascha Hauer Sascha Hauer authored on 20 Oct 2016
Showing 1 changed file
View
src/barebox-state/state.c