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> |
---|
|
src/barebox-state/backend_storage.c |
---|
src/barebox-state/state.c |
---|
src/barebox-state/state.h |
---|