mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 21:51: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> |
||
---|---|---|
.. | ||
beetle_clock_control.c | ||
clock_control_mcux_ccm.c | ||
clock_control_mcux_mcg.c | ||
clock_control_mcux_pcc.c | ||
clock_control_mcux_scg.c | ||
clock_control_mcux_sim.c | ||
clock_control_rv32m1_pcc.c | ||
clock_stm32_ll_common.c | ||
clock_stm32_ll_common.h | ||
clock_stm32_ll_h7.c | ||
clock_stm32_ll_mp1.c | ||
clock_stm32f1.c | ||
clock_stm32f2_f4_f7.c | ||
clock_stm32f0_f3.c | ||
clock_stm32g4.c | ||
clock_stm32g0.c | ||
clock_stm32l4_l5_wb.c | ||
clock_stm32l0_l1.c | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.beetle | ||
Kconfig.mcux_ccm | ||
Kconfig.mcux_mcg | ||
Kconfig.mcux_pcc | ||
Kconfig.mcux_scg | ||
Kconfig.mcux_sim | ||
Kconfig.nrf | ||
Kconfig.rv32m1 | ||
Kconfig.stm32 | ||
Kconfig.stm32f1 | ||
Kconfig.stm32f2_f4_f7 | ||
Kconfig.stm32f0_f3 | ||
Kconfig.stm32g0 | ||
Kconfig.stm32g4 | ||
Kconfig.stm32h7 | ||
Kconfig.stm32l4_l5_wb | ||
Kconfig.stm32l0_l1 | ||
nrf_clock_calibration.c | ||
nrf_clock_calibration.h | ||
nrf_power_clock.c |