pm: Rename exit_pos_ops to pm_exit_pos_ops

Because exit_pos_ops is the only function without the prefix.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2022-01-21 16:46:28 +01:00 committed by Anas Nashif
parent 11f1dd2370
commit 8143f206dd

View file

@ -102,7 +102,7 @@ static void pm_resume_devices(void)
}
#endif /* CONFIG_PM_DEVICE */
static inline void exit_pos_ops(struct pm_state_info *info)
static inline void pm_exit_pos_ops(struct pm_state_info *info)
{
extern __weak void
pm_power_state_exit_post_ops(struct pm_state_info *info);
@ -173,7 +173,7 @@ void pm_system_resume(void)
* and it may schedule another thread.
*/
if (atomic_test_and_clear_bit(z_post_ops_required, id)) {
exit_pos_ops(&z_cpus_pm_state[id]);
pm_exit_pos_ops(&z_cpus_pm_state[id]);
pm_state_notify(false);
z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE,
0, 0};