Commit 0a40af18 authored by Maciej Lipinski's avatar Maciej Lipinski Committed by Grzegorz Daniluk

[HAL] use pr_info() for debug messages of FSMs

printf makes the messages to be logged in syslog in strange order
with respect to the other messages. It's best to use pr_* consistently.
parent ff6118ac
......@@ -131,7 +131,7 @@ static inline void fsm_consume_state(fsm_t *fsm)
{
fsm->st.state = fsm_get_next_state(fsm);
if (FSM_GEN_DEBUG)
printf("%s: Enter state %s\n", fsm->fsm_name, fsm_get_state_name(fsm));
pr_info("%s: Enter state %s\n", fsm->fsm_name, fsm_get_state_name(fsm));
}
/* schedules next state of the FSM to newState */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment