power: Remove unused / unimplemented code

pm_system_resume_from_deep_sleep is not implemented or used
anywhere. Just remove it and keep the code base cleaner.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-02-24 11:31:23 -08:00 committed by Anas Nashif
commit 6307d19967
2 changed files with 0 additions and 19 deletions

View file

@ -194,21 +194,6 @@ bool pm_constraint_get(enum pm_state state);
* @{
*/
/**
* @brief Restore context to the point where system entered the deep sleep
* state.
*
* This function is optionally called when exiting from deep sleep if the SOC
* interface does not have bootloader support to handle resume from deep sleep.
* This function should restore context to the point where system entered
* the deep sleep state.
*
* If the function is called at cold boot it should return immediately.
*
* @note This function is not supported on all architectures.
*/
void pm_system_resume_from_deep_sleep(void);
/**
* @brief Notify exit from kernel idling after PM operations
*

View file

@ -26,10 +26,6 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
void __attribute__((weak)) pm_system_resume(void)
{
}
void __attribute__((weak)) pm_system_resume_from_deep_sleep(void)
{
}
/* LCOV_EXCL_STOP */
#endif /* CONFIG_PM */