]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: stm32_spi: migrate trace to dev and log macro
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 6 Nov 2020 18:01:52 +0000 (19:01 +0100)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 13 Jan 2021 08:52:58 +0000 (09:52 +0100)
commit7a41cb50ce0539e2801ee71084aedc20971d7257
treedca01eda9e30591b34cfcb2dd6fdac403b1f8229
parent0d5fbadeff8c91c6e32fd1e00696533ddeebb6e3
spi: stm32_spi: migrate trace to dev and log macro

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 <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/spi/stm32_spi.c