mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 00:42:22 +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.cc13xx_cc26xx | ||
Kconfig.dw | ||
Kconfig.gecko | ||
Kconfig.litex | ||
Kconfig.mcux_dspi | ||
Kconfig.mcux_flexcomm | ||
Kconfig.mcux_lpspi | ||
Kconfig.nrfx | ||
Kconfig.oc_simple | ||
Kconfig.rv32m1_lpspi | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stm32 | ||
Kconfig.xec_qmspi | ||
spi_cc13xx_cc26xx.c | ||
spi_context.h | ||
spi_dw_regs.h | ||
spi_dw.c | ||
spi_dw.h | ||
spi_gecko.c | ||
spi_handlers.c | ||
spi_litespi.c | ||
spi_litespi.h | ||
spi_ll_stm32.c | ||
spi_ll_stm32.h | ||
spi_mcux_dspi.c | ||
spi_mcux_flexcomm.c | ||
spi_mcux_lpspi.c | ||
spi_nrfx_spi.c | ||
spi_nrfx_spim.c | ||
spi_nrfx_spis.c | ||
spi_oc_simple.c | ||
spi_oc_simple.h | ||
spi_rv32m1_lpspi.c | ||
spi_sam.c | ||
spi_sam0.c | ||
spi_sifive.c | ||
spi_sifive.h | ||
spi_xec_qmspi.c |