arm: stm32mp: migrate cmd_stm32prog to log macro
Change debug and pr_ macro to log macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:

committed by
Patrick Delaunay

parent
eb653acd63
commit
711b5bc0a2
@@ -172,7 +172,7 @@ char *stm32prog_get_error(struct stm32prog_data *data);
|
||||
if (data->phase != PHASE_RESET) { \
|
||||
sprintf(data->error, args); \
|
||||
data->phase = PHASE_RESET; \
|
||||
pr_err("Error: %s\n", data->error); } \
|
||||
log_err("Error: %s\n", data->error); } \
|
||||
}
|
||||
|
||||
/* Main function */
|
||||
|
Reference in New Issue
Block a user