From e1ba1e520993f67860606b511161182ef2c683b6 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 1 Dec 2021 19:13:03 +0100 Subject: [PATCH] pm: state: fix PM_STATE(_INFO)_DT_ITEMS_LIST docs node_id is for a CPU node, not a zephyr,power-state compatible. Signed-off-by: Gerard Marull-Paretas --- include/pm/state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pm/state.h b/include/pm/state.h index 77eeb22c55c..17e8d1f3e8c 100644 --- a/include/pm/state.h +++ b/include/pm/state.h @@ -256,7 +256,7 @@ struct pm_state_info { * PM_STATE_INFO_DT_ITEMS_LIST(DT_NODELABEL(cpu0)); * @endcode * - * @param node_id A node identifier with compatible zephyr,power-state + * @param node_id A CPU node identifier. * @return an array of struct pm_state_info. */ #define PM_STATE_INFO_DT_ITEMS_LIST(node_id) \ @@ -305,7 +305,7 @@ struct pm_state_info { * const enum pm_state states[] = PM_STATE_DT_ITEMS_LIST(DT_NODELABEL(cpu0)); * @endcode * - * @param node_id A node identifier with compatible zephyr,power-state + * @param node_id A CPU node identifier. * @return an array of enum pm_state items. */ #define PM_STATE_DT_ITEMS_LIST(node_id) \