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

@ -12,7 +12,7 @@
#endif
#if defined(CONFIG_REBOOT)
#if DT_NODE_HAS_STATUS(SAM_DT_RSTC_DRIVER, okay)
#if DT_NODE_HAS_STATUS_OKAY(SAM_DT_RSTC_DRIVER)
void sys_arch_reboot(int type)
{
@ -33,5 +33,5 @@ void sys_arch_reboot(int type)
}
}
#endif /* DT_NODE_HAS_STATUS */
#endif /* DT_NODE_HAS_STATUS_OKAY */
#endif /* CONFIG_REBOOT */