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:
parent
b8a6223deb
commit
e1ba1e5209
1 changed files with 2 additions and 2 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue