Revert "manager: split modem_suspend() into _pre() and _post() functions"

This reverts commit ff9b26b831.
This commit is contained in:
Arnaud Ferraris
2020-12-11 13:36:28 +01:00
parent 9713af7ca8
commit 75b0920e9d
4 changed files with 5 additions and 13 deletions

View File

@@ -135,20 +135,14 @@ error:
manager->modem_state = EG25_STATE_RESETTING;
}
void modem_suspend_pre(struct EG25Manager *manager)
void modem_suspend(struct EG25Manager *manager)
{
manager->modem_state = EG25_STATE_SUSPENDING;
gpio_sequence_suspend(manager);
}
void modem_suspend_post(struct EG25Manager *manager)
{
at_sequence_suspend(manager);
}
void modem_resume_pre(struct EG25Manager *manager)
{
manager->modem_state = EG25_STATE_RESUMING;
gpio_sequence_resume(manager);
}