diff --git a/cpu/esp32/periph/gpio_ll.c b/cpu/esp32/periph/gpio_ll.c index 93146c1d05a14..81a5e22d1fe01 100644 --- a/cpu/esp32/periph/gpio_ll.c +++ b/cpu/esp32/periph/gpio_ll.c @@ -24,9 +24,7 @@ #include #include #include -#include -#include "log.h" #include "irq.h" #include "periph/gpio_ll.h" @@ -39,8 +37,9 @@ #include "esp_idf_api/gpio.h" #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout); diff --git a/cpu/gd32v/periph/gpio_ll.c b/cpu/gd32v/periph/gpio_ll.c index 8a59b1df64c41..d1d5bf203405f 100644 --- a/cpu/gd32v/periph/gpio_ll.c +++ b/cpu/gd32v/periph/gpio_ll.c @@ -28,8 +28,9 @@ #include "debug.h" #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout); diff --git a/cpu/nrf5x_common/periph/gpio_ll.c b/cpu/nrf5x_common/periph/gpio_ll.c index c556f8ac921b5..5035a1a0793c1 100644 --- a/cpu/nrf5x_common/periph/gpio_ll.c +++ b/cpu/nrf5x_common/periph/gpio_ll.c @@ -37,8 +37,9 @@ #include "periph_conf.h" #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout); diff --git a/cpu/sam0_common/periph/gpio_ll.c b/cpu/sam0_common/periph/gpio_ll.c index d375faeda9db7..f78d798fc974f 100644 --- a/cpu/sam0_common/periph/gpio_ll.c +++ b/cpu/sam0_common/periph/gpio_ll.c @@ -45,8 +45,9 @@ #include "periph/gpio_ll.h" #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout); diff --git a/cpu/stm32/periph/gpio_ll.c b/cpu/stm32/periph/gpio_ll.c index ae2a8c8413c14..e4561fb813de3 100644 --- a/cpu/stm32/periph/gpio_ll.c +++ b/cpu/stm32/periph/gpio_ll.c @@ -34,8 +34,9 @@ #include "periph/gpio_ll.h" #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout); diff --git a/drivers/periph_common/gpio_ll.c b/drivers/periph_common/gpio_ll.c index 30f3209bf01fe..82e2cadeafe4d 100644 --- a/drivers/periph_common/gpio_ll.c +++ b/drivers/periph_common/gpio_ll.c @@ -6,8 +6,6 @@ * directory for more details. */ -#include - #include "periph/gpio_ll.h" /* Optimizing for low stack usage by not using printf(), which on newlib is @@ -19,8 +17,9 @@ * printf(). */ #ifdef MODULE_FMT -#include "fmt.h" +# include "fmt.h" #else +# include static inline void print_str(const char *str) { fputs(str, stdout);