Commit 71c2baf2 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

power: Update notifier documentation



Add a new note clarifying one constraint in this API.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent a56bdc4c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@ extern unsigned char pm_idle_exit_notify;
 *
 * @note These callbacks can be called from the ISR of the event
 *       that caused the kernel exit from idling.
 *
 * @note It is not allowed to call @ref pm_notifier_unregister or
 *       @ref pm_notifier_register from these callbacks because they are called
 *       with the spin locked in those functions.
 */
struct pm_notifier {
	sys_snode_t _node;