We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e827d commit 56c2c1fCopy full SHA for 56c2c1f
drivers/gpio/gpio_mcp23sxx.c
@@ -122,8 +122,7 @@ static int mcp23sxx_bus_is_ready(const struct device *dev)
122
}; \
123
static struct mcp23xxx_config mcp23sxx_##inst##_config = { \
124
.config = { \
125
- .port_pin_mask = \
126
- GPIO_PORT_PIN_MASK_FROM_DT_NODE(DT_DRV_INST(n)), \
+ .port_pin_mask = GPIO_PORT_PIN_MASK_FROM_DT_INST(n), \
127
}, \
128
.bus = { \
129
.spi = SPI_DT_SPEC_INST_GET(n, \
0 commit comments