barebox-state: fall back to /state if there is no alias defined
state_get() already supports this if no state name is given. This just
removes the default state name to make use of this feature.

Without this, an alias named 'state' is needed for barebox-state work
without specifying the state node.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
1 parent 8a2a5d1 commit feb64890a302565974abf5178284965e788c698c
@Michael Olbrich Michael Olbrich authored on 11 Sep 2016
Showing 1 changed file
View
src/barebox-state.c