env: the ops driver load becomes mandatory in struct env_driver

The ops driver load becomes mandatory in struct env_drive,
change the comment for this ops and remove unnecessary test.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
Patrick Delaunay
2020-07-28 11:51:19 +02:00
committed by Tom Rini
parent ad3fec2364
commit 466d9855d4
2 changed files with 1 additions and 5 deletions

View File

@@ -154,8 +154,7 @@ struct env_driver {
/**
* load() - Load the environment from storage
*
* This method is optional. If not provided, no environment will be
* loaded.
* This method is required for loading environment
*
* @return 0 if OK, -ve on error
*/