Re: [PATCH 24/33] spi: stm32_spi: migrate trace to dev and log macro

2020-10-21 Thread Patrice CHOTARD
Hi Patrick On 10/14/20 11:16 AM, Patrick Delaunay wrote: > Change debug/pr_debug to log_debug or dev_dbg macro and > define LOG_CATEGORY. > > Remove the "%s:" __func__ header as it is managed by dev macro > (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). > > Signed-off-by: Patrick

[PATCH 24/33] spi: stm32_spi: migrate trace to dev and log macro

2020-10-14 Thread Patrick Delaunay
Change debug/pr_debug to log_debug or dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay --- drivers/spi/stm32_spi.c | 31