]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: stm32f7_i2c: migrate trace to dev and log macro
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 6 Nov 2020 18:01:50 +0000 (19:01 +0100)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 13 Jan 2021 08:52:58 +0000 (09:52 +0100)
commita59b5e7154f7a1c00286f07612e46dd5c6279606
tree4e8a8da4f3a481f0fd50e4565824b24a58b77f68
parentdec411fda3716a818b87c8bb042b651b1daa88fc
i2c: stm32f7_i2c: migrate trace to dev and log macro

Change debug to 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>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/stm32f7_i2c.c