drivers: gpio: gecko: stop using deprecated function

change GPIO_IntConfig to GPIO_ExtIntConfig

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Paweł Czarnecki 2022-09-26 07:00:24 +02:00 committed by Carles Cufí
parent cf07c14fa2
commit dc153b3bcb

View file

@ -294,7 +294,7 @@ static int gpio_gecko_pin_interrupt_configure(const struct device *dev,
falling_edge = false;
} /* default is GPIO_INT_TRIG_BOTH */
GPIO_IntConfig(config->gpio_index, pin,
GPIO_ExtIntConfig(config->gpio_index, pin, pin,
rising_edge, falling_edge, true);
}