soc/arm: stm32: swap argument order in ST_STM32 PINCTRL macros

In order to be in line with other DT_INST macros in zephyr code base,
swap the arguments order in following macro definitions:
*ST_STM32_DT_PINCTRL
*ST_STM32_DT_INST_PINCTRL
Update the users accordingly.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-10-08 17:24:07 +02:00 committed by Carles Cufí
commit b74a2162cb
4 changed files with 7 additions and 7 deletions

View file

@ -815,7 +815,7 @@ static void uart_stm32_irq_config_func_##index(const struct device *dev) \
STM32_UART_IRQ_HANDLER_DECL(index); \
\
static const struct soc_gpio_pinctrl uart_pins_##index[] = \
ST_STM32_DT_INST_PINCTRL(0, index); \
ST_STM32_DT_INST_PINCTRL(index, 0); \
\
static const struct uart_stm32_config uart_stm32_cfg_##index = { \
.uconf = { \