pm: state: PM_STATE_DT_ITEMS_LIST->PM_STATE_LIST_FROM_DT_CPU
Rename the PM_STATE_DT_ITEMS_LIST macro to PM_STATE_LIST_FROM_DT_CPU to make its purpose more clear. Similar naming scheme is found e.g. in the GPIO API. Associated internal macros and docstrings have been adjusted, too. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
fa96955305
commit
5ab7d35e7c
3 changed files with 12 additions and 14 deletions
|
@ -304,7 +304,7 @@ static inline uint8_t reg_interval(const struct device *dev)
|
|||
|
||||
#if defined(CONFIG_UART_INTERRUPT_DRIVEN) && defined(CONFIG_PM)
|
||||
static const enum pm_state pm_states[] =
|
||||
PM_STATE_DT_ITEMS_LIST(DT_NODELABEL(cpu0));
|
||||
PM_STATE_LIST_FROM_DT_CPU(DT_NODELABEL(cpu0));
|
||||
#endif
|
||||
|
||||
static const struct uart_driver_api uart_ns16550_driver_api;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue