pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros

The PINCTRL_DT_(INST_)DEFINE macros already defined the trailing ;,
making its usage inconsistent with other macros such as
DEVICE_DT_DEFINE.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-12-23 12:33:03 +01:00 committed by Christopher Friedt
commit 5dc6ed3ce3
21 changed files with 24 additions and 24 deletions

View file

@ -1688,7 +1688,7 @@ static void uart_stm32_irq_config_func_##index(const struct device *dev) \
#define STM32_UART_INIT(index) \
STM32_UART_IRQ_HANDLER_DECL(index) \
\
PINCTRL_DT_INST_DEFINE(index) \
PINCTRL_DT_INST_DEFINE(index); \
\
static const struct uart_stm32_config uart_stm32_cfg_##index = { \
.uconf = { \