Skip to content

Commit 5e3f3ce

Browse files
ceolinkartben
authored andcommitted
pm: Remove deprecated function
z_pm_save_idle_exit was deprecated before 3.7, it is time to remove it. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 97ddfbc commit 5e3f3ce

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

include/zephyr/pm/pm.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ const struct pm_state_info *pm_state_next_get(uint8_t cpu);
135135
*/
136136
void pm_system_resume(void);
137137

138-
139-
/** @cond INTERNAL_HIDDEN */
140-
__deprecated void z_pm_save_idle_exit(void);
141-
/** @endcond */
142-
143138
/**
144139
* @}
145140
*/
@@ -199,9 +194,6 @@ static inline const struct pm_state_info *pm_state_next_get(uint8_t cpu)
199194

200195
return NULL;
201196
}
202-
static inline void z_pm_save_idle_exit(void)
203-
{
204-
}
205197

206198
static inline void pm_system_resume(void)
207199
{

subsys/pm/pm.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,3 @@ const struct pm_state_info *pm_state_next_get(uint8_t cpu)
259259
{
260260
return &z_cpus_pm_state[cpu];
261261
}
262-
263-
void z_pm_save_idle_exit(void)
264-
{
265-
/* Some CPU low power states require notification at the ISR
266-
* to allow any operations that needs to be done before kernel
267-
* switches task or processes nested interrupts.
268-
* This can be simply ignored if not required.
269-
*/
270-
pm_system_resume();
271-
}

0 commit comments

Comments
 (0)