state: Do not load state during state_new_from_node
The caller of state_new_from_node() may have it's own ideas what to
do when loading the state fails, so do not load it in the initialization
function, but instead let the caller do it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 13d85df commit ccb5b80125a0b95e8954260eddd7f40a61c8e65e
@Sascha Hauer Sascha Hauer authored on 29 Mar 2017
Showing 2 changed files
View
common/state/state.c
View
drivers/misc/state.c