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 <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-12-01 19:13:03 +01:00 committed by Anas Nashif
commit e1ba1e5209

View file

@ -256,7 +256,7 @@ struct pm_state_info {
* PM_STATE_INFO_DT_ITEMS_LIST(DT_NODELABEL(cpu0)); * PM_STATE_INFO_DT_ITEMS_LIST(DT_NODELABEL(cpu0));
* @endcode * @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. * @return an array of struct pm_state_info.
*/ */
#define PM_STATE_INFO_DT_ITEMS_LIST(node_id) \ #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)); * const enum pm_state states[] = PM_STATE_DT_ITEMS_LIST(DT_NODELABEL(cpu0));
* @endcode * @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. * @return an array of enum pm_state items.
*/ */
#define PM_STATE_DT_ITEMS_LIST(node_id) \ #define PM_STATE_DT_ITEMS_LIST(node_id) \