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 <heinwessels93@gmail.com>
This commit is contained in:
Hein Wessels 2023-09-15 14:25:39 +02:00 committed by Fabio Baltieri
commit 3e369ec8ed

View file

@ -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 */