state: pass struct state * to storage functions
We can get a state_backend_storage * and the device * from struct state,
so pass this to the storage functions rather than the two pointers.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 86a5a1d commit cd8b5954c6a6e918dae96dd14ff605a819e08d51
@Sascha Hauer Sascha Hauer authored on 22 Mar 2017
Showing 3 changed files
View
src/barebox-state/backend_storage.c
View
src/barebox-state/state.c
View
src/barebox-state/state.h