soc: arm: st_stm32: wba: remove redundant entry in pm_exit_post_ops

SOFT_OFF is not supported for this SoC, also, SOFT_OFF will never reach
the PM post ops.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-08-08 10:55:53 +02:00 committed by Carles Cufí
parent d7a0b4fa93
commit 574360cba0

View file

@ -79,9 +79,6 @@ void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
case PM_STATE_STANDBY:
/* To be tested */
LL_LPM_EnableSleep();
case PM_STATE_SOFT_OFF:
/* We should not get there */
__fallthrough;
case PM_STATE_SUSPEND_TO_RAM:
__fallthrough;
case PM_STATE_SUSPEND_TO_DISK: