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:
parent
11f1dd2370
commit
8143f206dd
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ static void pm_resume_devices(void)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PM_DEVICE */
|
#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
|
extern __weak void
|
||||||
pm_power_state_exit_post_ops(struct pm_state_info *info);
|
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.
|
* and it may schedule another thread.
|
||||||
*/
|
*/
|
||||||
if (atomic_test_and_clear_bit(z_post_ops_required, id)) {
|
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);
|
pm_state_notify(false);
|
||||||
z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE,
|
z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE,
|
||||||
0, 0};
|
0, 0};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue