dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY

Rename DT_HAS_NODE to DT_HAS_NODE_STATUS_OKAY so the semantics are
clear.  As going forward DT_HAS_NODE will report if a NODE exists
regardless of its status.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-05-05 13:55:28 -05:00 committed by Kumar Gala
commit fdd85d5ad7
166 changed files with 883 additions and 872 deletions

View file

@ -29,7 +29,7 @@
#include <logging/log.h>
LOG_MODULE_REGISTER(uart_stm32);
#define HAS_LPUART_1 (DT_HAS_NODE(DT_NODELABEL(lpuart1)) && \
#define HAS_LPUART_1 (DT_HAS_NODE_STATUS_OKAY(DT_NODELABEL(lpuart1)) && \
DT_NODE_HAS_COMPAT(DT_NODELABEL(lpuart1), \
st_stm32_lpuart))