mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 16:32:57 +00:00
Several reviewers agreed that DT_HAS_NODE_STATUS_OKAY(...) was an undesirable API for the following reasons: - it's inconsistent with the rest of the DT_NODE_HAS_FOO names - DT_NODE_HAS_FOO_BAR_BAZ(node) was agreed upon as a shorthand for macros which are equivalent to DT_NODE_HAS_FOO(node) && DT_NODE_HAS_BAR(node) && - DT_NODE_HAS_BAZ(node), and DT_HAS_NODE_STATUS_OKAY is an odd duck - DT_NODE_HAS_STATUS(..., okay) was viewed as more readable anyway - it is seen as a somewhat aesthetically challenged name Replace all users with DT_NODE_HAS_STATUS(..., okay), which is semantically equivalent. This is mostly done with sed, but a few remaining cases were done by hand, along with whitespace, docs, and comment changes. These special cases include the Nordic SOC static assert files. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.altera_jtag | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.cc32xx | ||
Kconfig.cmsdk_apb | ||
Kconfig.esp32 | ||
Kconfig.gecko | ||
Kconfig.imx | ||
Kconfig.leuart_gecko | ||
Kconfig.litex | ||
Kconfig.mcux | ||
Kconfig.mcux_flexcomm | ||
Kconfig.mcux_lpsci | ||
Kconfig.mcux_lpuart | ||
Kconfig.miv | ||
Kconfig.msp432p4xx | ||
Kconfig.native_posix | ||
Kconfig.nrfx | ||
Kconfig.ns16550 | ||
Kconfig.nsim | ||
Kconfig.pl011 | ||
Kconfig.psoc6 | ||
Kconfig.rtt | ||
Kconfig.rv32m1_lpuart | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stellaris | ||
Kconfig.stm32 | ||
Kconfig.uart_sam | ||
Kconfig.usart_sam | ||
Kconfig.xlnx | ||
Kconfig.xmc4xxx | ||
leuart_gecko.c | ||
uart_altera_jtag_hal.c | ||
uart_cc13xx_cc26xx.c | ||
uart_cc32xx.c | ||
uart_cmsdk_apb.c | ||
uart_esp32.c | ||
uart_gecko.c | ||
uart_handlers.c | ||
uart_imx.c | ||
uart_liteuart.c | ||
uart_mcux_flexcomm.c | ||
uart_mcux_lpsci.c | ||
uart_mcux_lpuart.c | ||
uart_mcux.c | ||
uart_miv.c | ||
uart_msp432p4xx.c | ||
uart_native_posix.c | ||
uart_nrfx_uart.c | ||
uart_nrfx_uarte.c | ||
uart_ns16550_port_x.h | ||
uart_ns16550.c | ||
uart_ns16550.h | ||
uart_nsim.c | ||
uart_pl011.c | ||
uart_psoc6.c | ||
uart_rtt.c | ||
uart_rv32m1_lpuart.c | ||
uart_sam.c | ||
uart_sam0.c | ||
uart_sifive.c | ||
uart_stellaris.c | ||
uart_stm32.c | ||
uart_stm32.h | ||
uart_xlnx_ps.c | ||
uart_xmc4xxx.c | ||
usart_sam.c |