6e8775ff84
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> |
||
---|---|---|
.. | ||
stm32 | ||
CMakeLists.txt | ||
dummy.c | ||
Kconfig | ||
Kconfig.beetle | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.esp32 | ||
Kconfig.hsdk | ||
Kconfig.intel_s1000 | ||
Kconfig.mcux | ||
Kconfig.mcux_lpc | ||
Kconfig.rv32m1 | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stm32 | ||
Kconfig.xec | ||
pinmux.h | ||
pinmux_cc13xx_cc26xx.c | ||
pinmux_esp32.c | ||
pinmux_hsdk.c | ||
pinmux_intel_s1000.c | ||
pinmux_mchp_xec.c | ||
pinmux_mcux.c | ||
pinmux_mcux_lpc.c | ||
pinmux_rv32m1.c | ||
pinmux_sam0.c | ||
pinmux_sifive.c |