Browse Source

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>
pull/62712/head
Hein Wessels 2 years ago committed by Fabio Baltieri
parent
commit
3e369ec8ed
  1. 2
      drivers/spi/spi_ll_stm32.c

2
drivers/spi/spi_ll_stm32.c

@ -1038,7 +1038,7 @@ static int spi_stm32_init(const struct device *dev)
return -ENODEV; return -ENODEV;
} }
LOG_INF(" SPI with DMA transfer"); LOG_DBG("SPI with DMA transfer");
#endif /* CONFIG_SPI_STM32_DMA */ #endif /* CONFIG_SPI_STM32_DMA */

Loading…
Cancel
Save