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:
parent
b38d84fef4
commit
b74a2162cb
4 changed files with 7 additions and 7 deletions
|
@ -352,7 +352,7 @@ STM32_I2C_IRQ_HANDLER_DECL(name); \
|
|||
DEFINE_TIMINGS(name) \
|
||||
\
|
||||
static const struct soc_gpio_pinctrl i2c_pins_##name[] = \
|
||||
ST_STM32_DT_PINCTRL(0, name); \
|
||||
ST_STM32_DT_PINCTRL(name, 0); \
|
||||
\
|
||||
static const struct i2c_stm32_config i2c_stm32_cfg_##name = { \
|
||||
.i2c = (I2C_TypeDef *)DT_REG_ADDR(DT_NODELABEL(name)), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue