summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/tcpc_anx7447.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/usbc/tcpc_anx7447.h')
-rw-r--r--zephyr/shim/include/usbc/tcpc_anx7447.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/zephyr/shim/include/usbc/tcpc_anx7447.h b/zephyr/shim/include/usbc/tcpc_anx7447.h
index 38fcd536a5..53312cd0ea 100644
--- a/zephyr/shim/include/usbc/tcpc_anx7447.h
+++ b/zephyr/shim/include/usbc/tcpc_anx7447.h
@@ -18,7 +18,5 @@
}, \
.drv = &anx7447_tcpm_drv, \
.flags = DT_PROP(id, tcpc_flags), \
- .alert_signal = COND_CODE_1(DT_NODE_HAS_PROP(id, int_pin), \
- (GPIO_SIGNAL(DT_PHANDLE(id, int_pin))), \
- (GPIO_LIMIT)), \
+ .irq_gpio = GPIO_DT_SPEC_GET_OR(id, irq_gpios, {}), \
},