pm: Fix documentation section

pm_power_state_next_get does not belong the pm subsys hooks section.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-11-19 16:32:18 -08:00 committed by Anas Nashif
parent 72262475f4
commit 00252b8d9e
1 changed files with 11 additions and 11 deletions

View File

@ -102,6 +102,17 @@ void pm_notifier_register(struct pm_notifier *notifier);
*/
int pm_notifier_unregister(struct pm_notifier *notifier);
/**
* @brief Gets the next power state that will be used.
*
* This function returns the next power state that will be used by the
* SoC.
*
* @param cpu CPU index.
* @return next pm_state_info that will be used
*/
const struct pm_state_info pm_power_state_next_get(uint8_t cpu);
/**
* @}
*/
@ -173,17 +184,6 @@ bool pm_constraint_get(enum pm_state state);
*/
void pm_power_state_set(struct pm_state_info info);
/**
* @brief Gets the next power state that will be used.
*
* This function returns the next power state that will be used by the
* SoC.
*
* @param cpu CPU index.
* @return next pm_state_info that will be used
*/
const struct pm_state_info pm_power_state_next_get(uint8_t cpu);
/**
* @brief Do any SoC or architecture specific post ops after sleep state exits.
*