mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 13:45:50 +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 | ||
eth_e1000_priv.h | ||
eth_e1000.c | ||
eth_enc28j60_priv.h | ||
eth_enc28j60.c | ||
eth_enc424j600_priv.h | ||
eth_enc424j600.c | ||
eth_gecko_priv.h | ||
eth_gecko.c | ||
eth_liteeth.c | ||
eth_mcux.c | ||
eth_native_posix_adapt.c | ||
eth_native_posix_priv.h | ||
eth_native_posix.c | ||
eth_sam_gmac_priv.h | ||
eth_sam_gmac.c | ||
eth_sam0_gmac.h | ||
eth_smsc911x_priv.h | ||
eth_smsc911x.c | ||
eth_stellaris_priv.h | ||
eth_stellaris.c | ||
eth_stm32_hal_priv.h | ||
eth_stm32_hal.c | ||
eth.h | ||
Kconfig | ||
Kconfig.e1000 | ||
Kconfig.enc28j60 | ||
Kconfig.enc424j600 | ||
Kconfig.gecko | ||
Kconfig.liteeth | ||
Kconfig.mcux | ||
Kconfig.native_posix | ||
Kconfig.sam_gmac | ||
Kconfig.smsc911x | ||
Kconfig.stellaris | ||
Kconfig.stm32_hal | ||
phy_gecko.c | ||
phy_gecko.h | ||
phy_sam_gmac.c | ||
phy_sam_gmac.h |