Skip to content

Commit ca9d5e8

Browse files
etienne-lmsfabiobaltieri
authored andcommitted
drivers: ipm: stm32_hsem: clean indentation in instance init macros
Clean indentation in macros used to define instances in STM32 HSEM hardware semaphore drivers. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent a2a9541 commit ca9d5e8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

drivers/ipm/ipm_stm32_hsem.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,16 @@ static const struct stm32_hsem_mailbox_config stm32_hsem_mailbox_0_config = {
203203
* a virtual mailbox device. So there will have only one instance.
204204
*/
205205
#define IPM_STM32_HSEM_INIT(inst) \
206-
BUILD_ASSERT((inst) == 0, \
207-
"multiple instances not supported"); \
208-
DEVICE_DT_INST_DEFINE(0, \
209-
&stm32_hsem_mailbox_init, \
210-
NULL, \
211-
&stm32_hsem_mailbox_0_data, \
212-
&stm32_hsem_mailbox_0_config, \
213-
POST_KERNEL, \
214-
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
215-
&stm32_hsem_mailbox_ipm_dirver_api); \
206+
BUILD_ASSERT((inst) == 0, \
207+
"multiple instances not supported"); \
208+
\
209+
DEVICE_DT_INST_DEFINE(0, \
210+
&stm32_hsem_mailbox_init, \
211+
NULL, \
212+
&stm32_hsem_mailbox_0_data, \
213+
&stm32_hsem_mailbox_0_config, \
214+
POST_KERNEL, \
215+
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
216+
&stm32_hsem_mailbox_ipm_dirver_api);
216217

217218
DT_INST_FOREACH_STATUS_OKAY(IPM_STM32_HSEM_INIT)

0 commit comments

Comments
 (0)