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:
parent
5aebd1276d
commit
52a202309b
180 changed files with 743 additions and 738 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue