pm: policy: Fix API documentation
pm_policy_next_state was not properly documented. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
4f609886de
commit
dc411a3a8b
1 changed files with 9 additions and 1 deletions
|
@ -14,7 +14,15 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Function to get the next PM state based on the ticks
|
* @brief Function to get the next PM state
|
||||||
|
*
|
||||||
|
* This function is called by the power subsystem when the system is
|
||||||
|
* idle and returns the most appropriate state based on the number of
|
||||||
|
* ticks to the next event.
|
||||||
|
*
|
||||||
|
* @param ticks The number of ticks to the next scheduled event.
|
||||||
|
*
|
||||||
|
* @return The power state the system should use.
|
||||||
*/
|
*/
|
||||||
struct pm_state_info pm_policy_next_state(int32_t ticks);
|
struct pm_state_info pm_policy_next_state(int32_t ticks);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue