From 3e369ec8ed0c55016d0fb63391617d37ba1d7adc Mon Sep 17 00:00:00 2001 From: Hein Wessels Date: Fri, 15 Sep 2023 14:25:39 +0200 Subject: [PATCH] drivers: spi: stm32: LOG_INF should be LOG_DBG to not clutter console Drivers should only log extra information during initialization if debug logging is enabled. Otherwise it always clutters the console when not required. Signed-off-by: Hein Wessels --- drivers/spi/spi_ll_stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi_ll_stm32.c b/drivers/spi/spi_ll_stm32.c index d4ad84fae77..dc640613882 100644 --- a/drivers/spi/spi_ll_stm32.c +++ b/drivers/spi/spi_ll_stm32.c @@ -1038,7 +1038,7 @@ static int spi_stm32_init(const struct device *dev) return -ENODEV; } - LOG_INF(" SPI with DMA transfer"); + LOG_DBG("SPI with DMA transfer"); #endif /* CONFIG_SPI_STM32_DMA */