zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY

Change instances of:

DT_NODE_HAS_STATUS(<node_id>, okay)

to

DT_NODE_HAS_STATUS_OKAY(<node_id>)

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2024-09-20 12:47:40 +08:00 committed by Fabio Baltieri
commit 52a202309b
180 changed files with 743 additions and 738 deletions

View file

@ -37,7 +37,7 @@ static int efr32mg_sltb004a_init(void)
#define CCS811 DT_NODELABEL(ccs811)
#if DT_NODE_HAS_STATUS(CCS811, okay)
#if DT_NODE_HAS_STATUS_OKAY(CCS811)
cfg = (struct supply_cfg){
.gpio = DEVICE_DT_GET(DT_GPIO_CTLR(CCS811, supply_gpios)),
.pin = DT_GPIO_PIN(CCS811, supply_gpios),