state: Add 'init_from_defaults' parameter
The init_from_defaults parameter allows to detect if a state has been
initialized from default values, i.e. state_load failed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6d3e10c commit 6a77d1cfb6596ed0a269ab52028f7e4bb22c99e2
@Sascha Hauer Sascha Hauer authored on 4 May 2016
Showing 2 changed files
View
common/state/state.c
View
common/state/state.h